Color codes
- HEX
- #fff8dc
- RGB
- rgb(255, 248, 220)
- HSL
- hsl(48 100% 93%)
- CMYK
- cmyk(0% 3% 14% 0%)
- OKLCH
- oklch(97.7% 0.037 95)
CSS named color
rgb(255, 248, 220)
1.07:1 on white
Fails WCAG AA
19.71:1 on black
AAA for normal and large text
cornsilk is written as #fff8dc in hex, rgb(255, 248, 220) in RGB and hsl(48 100% 93%) in HSL. Its lightness sits at 93%, which is why it reads fails wcag aa against white.
Need the color from a screenshot instead? Use theimage color picker, or convert a value with the color code converter.