#F0F8E2#F0F8E2
#F0F8E2 is a very light, muted yellow-green. Relative luminance 0.912; OKLCH L 96.7% C 0.030 H 123.3°. Best body text is #000000 at 19.23:1 contrast (WCAG AA passes).
Color values
| HEX | #F0F8E2 |
|---|---|
| RGB | rgb(240, 248, 226) |
| HSL | hsl(82, 61%, 93%) |
| HSV | hsv(82, 9%, 97%) |
| CMYK | cmyk(3.2%, 0%, 8.9%, 2.7%) |
| CIE-LAB | lab(96.47, -6.44, 9.66) |
| CIE-LCH | lch(96.47, 11.61, 123.71°) |
| OKLab | oklab(96.72% -0.0165 0.0252) |
| OKLCH | oklch(96.72% 0.03 123.3) |
| XYZ | xyz(83.2280, 91.1510, 85.1460) |
| Luminance | 0.9115 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Beige
#F5F5DC
ΔE00 3.28
Honeydew
#F0FFF0
ΔE00 3.71
Off White (survey)
#FFFFE4
ΔE00 3.82
Lightyellow
#FFFFE0
ΔE00 4.36
Ivory
#FFFFF0
ΔE00 4.86
Lightgoldenrodyellow
#FAFAD2
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0F8E2 #EAE2F8
analogous
#F8F5E2 #F0F8E2 #E5F8E2
triadic
#F0F8E2 #E2F0F8 #F8E2F0
tetradic
#F0F8E2 #E2F8F5 #EAE2F8 #F8E2E5
square
#F0F8E2 #E2F8F5 #EAE2F8 #F8E2E5
split-complementary
#F0F8E2 #E2E5F8 #F5E2F8
monochromatic
#BDE07F #D6ECB1 #F0F8E2 #F2F9E6 #F2F9E6
Accessibility & contrast
On white
1.09
#F0F8E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.23
#F0F8E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0F8E2
19.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0F8E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0F8E2 | 1.00 | 1.09 | 19.23 | 19.23 |
| #FFFFFF | 1.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FBF5E1
Deuteranopia (green-blind)
#FAF5E3
Tritanopia (blue-blind)
#F2F6F2
Achromatopsia (no color)
#F5F5F5
Design tokens & code
CSS
--color: #f0f8e2; /* rgb */ color: rgb(240, 248, 226); /* oklch */ color: oklch(96.7% 0.030 123.3);
Tailwind
colors: {
custom: {
50: '#f5faeb',
500: '#f0f8e2',
950: '#000000',
},
}SCSS
$custom: #f0f8e2; $custom-light: #f5faeb; $custom-dark: #000000;
JSON
{
"hex": "#f0f8e2",
"rgb": {
"r": 240,
"g": 248,
"b": 226
},
"hsl": {
"h": 81.818,
"s": 61.111,
"l": 92.941
},
"oklch": {
"l": 0.96724,
"c": 0.03013,
"h": 123.3
},
"luminance": 0.91151
}Semantic roles & 50–950 ramp
primary
#F0F8E2
secondary
#B8A4DA
accent
#1DC95B
background
#FFFFFE
surface
#FEFFFD
border
#D6D7D5
text
#171716
muted
#858584