An LC medium, characterized in that it comprises one or more polymerizable compounds of formula I P-Sp-A a -(Z a -A b) z -R b I wherein the individual radicals, independently of each other and on each occurrence identically or differently, have the following meanings R b P-Sp- or R, R F, Cl, -CN or straight chain, branched or cyclic alkyl having 1 to 25 C atoms, wherein one or more non-adjacent CH 2 -groups are optionally replaced by -O-, -S-, -CO-, -CO-O-, -O-CO-, -O-CO-O-, CR 0 =CR 00 -, -C≡C-, in such a manner that O- and/or S-atoms are not directly connected with each other, and wherein one or more H atoms are each optionally replaced by F or Cl or P-Sp-, P a polymerizable group, Sp a spacer group which is optionally substituted by P, or a single bond, A a, A b an alicyclic, heterocyclic, aromatic or heteroaromatic group with 4 to 20 ring atoms, which is monocyclic or polycyclic and which is optionally substituted by one or more groups L or P-Sp-, Z a -O-, -S-, -CO-, -CO-O-, -O-CO-, -O-CO-O-, -OCH 2 -, -CH 2 O-,-SCH 2 -, -CH 2 S-, -CF 2 O-, -OCF 2 -, -CF 2 S-, -SCF 2 -, -(CH 2) n1 -,-CF 2 CH 2 -, -CH 2 CF 2 -, -(CF 2)n1-, -CH=CH-, -CF=CF-, -CH=CF-,-CF=CH-, -C≡C-, -CH=CH-CO-O-, -O-CO-CH=CH-, -CH 2 -CH 2 -CO-O-, -O-CO-CH 2 -CH 2 -, -CR 0 R 00 -, or a single bond, R 0, R 00 H or alkyl having 1 to 12 C atoms, L F, Cl, -CN, P-Sp- or straight chain, branched or cyclic alkyl having 1 to 25 C atoms, wherein one or more non-adjacent CH 2 -groups are optionally replaced by -O-, -S-, -CO-, -CO-O-, -O-CO-, -O-CO-O-, CR 0 =CR 00 -, -C≡C-, in such a manner that O- and/or S-atoms are not directly connected with each other, and wherein one or more H atoms are each optionally replaced by P-Sp-, F or Cl, z 0, 1, 2, 3 or 4, n1 1, 2, 3 or 4, and further comprises one or more compounds of formula II wherein the individual radicals, independently of each other and on each occurrence identically or differently, have the following meanings R 1, R 2 straight chain, branched or cyclic alkyl having 1 to 25 C atoms, wherein one or more non-adjacent CH 2 -groups are optionally replaced by -O-, -S-, -CO-, -CO-O-, -O-CO-, -O-CO-O-, CR 0 =CR 00 -, -C≡C-, in such a manner that O- and/or S-atoms are not directly connected with each other, and wherein one or more H atoms are each optionally replaced by F or Cl, A 1, A 2 a group selected from the following formulae wherein the individual radicals, independently of each other and on each occurrence identically or differently, have the following meanings Z 1, Z 2 -CH 2 CH 2 -, -CH=CH-, -CF 2 O-, -OCF 2 -, -CH 2 O-, -OCH 2 -, -CO-O-, -O-CO-, -C 2 F 4 -, -CF=CF-, -CH=CH-CH 2 O- or a single bond, L 1, L 2, L 3, L 4 F, Cl, OCF 3, CF 3, CH 3, CH 2 F or CHF 2, Y H, F, Cl, CF 3, CHF 2 or CH 3, L C CH 3 or OCH 3, a1 1 or 2, a2 0 or 1, and the LC medium further comprises at least one dye absorbing green light and/or at least one dye absorbing red light, and wherein the concentration of the compounds of formula I in the LC medium is from 0.01 to 3.0% by weight. R b P-Sp- or R, R F, Cl, -CN or straight chain, branched or cyclic alkyl having 1 to 25 C atoms, wherein one or more non-adjacent CH 2 -groups are optionally replaced by -O-, -S-, -CO-, -CO-O-, -O-CO-, -O-CO-O-, CR 0 =CR 00 -, -C≡C-, in such a manner that O- and/or S-atoms are not directly connected with each other, and wherein one or more H atoms are each optionally replaced by F or Cl or P-Sp-, P a polymerizable group, Sp a spacer group which is optionally substituted by P, or a single bond, A a, A b an alicyclic, heterocyclic, aromatic or heteroaromatic group with 4 to 20 ring atoms, which is monocyclic or polycyclic and which is optionally substituted by one or more groups L or P-Sp-, Z a -O-, -S-, -CO-, -CO-O-, -O-CO-, -O-CO-O-, -OCH 2 -, -CH 2 O-,-SCH 2 -, -CH 2 S-, -CF 2 O-, -OCF 2 -, -CF 2 S-, -SCF 2 -, -(CH 2) n1 -,-CF 2 CH 2 -, -CH 2 CF 2 -, -(CF 2)n1-, -CH=CH-, -CF=CF-, -CH=CF-,-CF=CH-, -C≡C-, -CH=CH-CO-O-, -O-CO-CH=CH-, -CH 2 -CH 2 -CO-O-, -O-CO-CH 2 -CH 2 -, -CR 0 R 00 -, or a single bond, R 0, R 00 H or alkyl having 1 to 12 C atoms, L F, Cl, -CN, P-Sp- or straight chain, branched or cyclic alkyl having 1 to 25 C atoms, wherein one or more non-adjacent CH 2 -groups are optionally replaced by -O-, -S-, -CO-, -CO-O-, -O-CO-, -O-CO-O-, CR 0 =CR 00 -, -C≡C-, in such a manner that O- and/or S-atoms are not directly connected with each other, and wherein one or more H atoms are each optionally replaced by P-Sp-, F or Cl, z 0, 1, 2, 3 or 4, n1 1, 2, 3 or 4, R 1, R 2 straight chain, branched or cyclic alkyl having 1 to 25 C atoms, wherein one or more non-adjacent CH 2 -groups are optionally replaced by -O-, -S-, -CO-, -CO-O-, -O-CO-, -O-CO-O-, CR 0 =CR 00 -, -C≡C-, in such a manner that O- and/or S-atoms are not directly connected with each other, and wherein one or more H atoms are each optionally replaced by F or Cl, A 1, A 2 a group selected from the following formulae wherein the individual radicals, independently of each other and on each occurrence identically or differently, have the following meanings Z 1, Z 2 -CH 2 CH 2 -, -CH=CH-, -CF 2 O-, -OCF 2 -, -CH 2 O-, -OCH 2 -, -CO-O-, -O-CO-, -C 2 F 4 -, -CF=CF-, -CH=CH-CH 2 O- or a single bond, L 1, L 2, L 3, L 4 F, Cl, OCF 3, CF 3, CH 3, CH 2 F or CHF 2, Y H, F, Cl, CF 3, CHF 2 or CH 3, L C CH 3 or OCH 3, a1 1 or 2, a2 0 or 1,