#F0FEC2#F0FEC2
#F0FEC2 is a very light, moderate yellow-green. Relative luminance 0.933; OKLCH L 97.2% C 0.079 H 118.5°. Best body text is #000000 at 19.66:1 contrast (WCAG AA passes).
Color values
| HEX | #F0FEC2 |
|---|---|
| RGB | rgb(240, 254, 194) |
| HSL | hsl(74, 97%, 88%) |
| HSV | hsv(74, 24%, 100%) |
| CMYK | cmyk(5.5%, 0%, 23.6%, 0.4%) |
| CIE-LAB | lab(97.35, -14.32, 27.23) |
| CIE-LCH | lch(97.35, 30.77, 117.73°) |
| OKLab | oklab(97.21% -0.0376 0.0691) |
| OKLCH | oklch(97.21% 0.079 118.5) |
| XYZ | xyz(81.1138, 93.3042, 64.7648) |
| Luminance | 0.9330 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Ecru
#FEFFCA
ΔE00 3.84
Cream (survey)
#FFFFC2
ΔE00 3.90
Ivory (survey)
#FFFFCB
ΔE00 4.21
Egg Shell
#FFFCC4
ΔE00 4.74
Creme
#FFFFB6
ΔE00 4.82
Light Khaki
#E6F2A2
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0FEC2 #D0C2FE
analogous
#FEEEC2 #F0FEC2 #D2FEC2
triadic
#F0FEC2 #C2F0FE #FEC2F0
tetradic
#F0FEC2 #C2FEEE #D0C2FE #FEC2D2
square
#F0FEC2 #C2FEEE #D0C2FE #FEC2D2
split-complementary
#F0FEC2 #C2D2FE #EEC2FE
monochromatic
#D2FC4A #E1FD86 #F0FEC2 #F8FFE1 #F8FFE1
Accessibility & contrast
On white
1.07
#F0FEC2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.66
#F0FEC2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0FEC2
19.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0FEC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0FEC2 | 1.00 | 1.07 | 19.66 | 19.66 |
| #FFFFFF | 1.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF7BE
Deuteranopia (green-blind)
#FFF8C4
Tritanopia (blue-blind)
#F6F7EE
Achromatopsia (no color)
#F7F7F7
Design tokens & code
CSS
--color: #f0fec2; /* rgb */ color: rgb(240, 254, 194); /* oklch */ color: oklch(97.2% 0.079 118.5);
Tailwind
colors: {
custom: {
50: '#f5fed4',
500: '#f0fec2',
950: '#000000',
},
}SCSS
$custom: #f0fec2; $custom-light: #f5fed4; $custom-dark: #000000;
JSON
{
"hex": "#f0fec2",
"rgb": {
"r": 240,
"g": 254,
"b": 194
},
"hsl": {
"h": 74,
"s": 96.774,
"l": 87.843
},
"oklch": {
"l": 0.97205,
"c": 0.07863,
"h": 118.5
},
"luminance": 0.93304
}Semantic roles & 50–950 ramp
primary
#F0FEC2
secondary
#967EE6
accent
#00E636
background
#FFFFFE
surface
#FEFFFB
border
#D6D7D4
text
#171714
muted
#858583