#F2F2E2#F2F2E2
#F2F2E2 is a very light, muted yellow. Relative luminance 0.879; OKLCH L 95.7% C 0.021 H 106.8°. Best body text is #000000 at 18.57:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F2E2 |
|---|---|
| RGB | rgb(242, 242, 226) |
| HSL | hsl(60, 38%, 92%) |
| HSV | hsv(60, 7%, 95%) |
| CMYK | cmyk(0%, 0%, 6.6%, 5.1%) |
| CIE-LAB | lab(95.11, -2.74, 7.72) |
| CIE-LCH | lch(95.11, 8.19, 109.54°) |
| OKLab | oklab(95.68% -0.0061 0.0202) |
| OKLCH | oklch(95.68% 0.021 106.8) |
| XYZ | xyz(82.0957, 87.8728, 84.5730) |
| Luminance | 0.8787 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ivory
#FFFFF0
ΔE00 2.69
Eggshell
#F0EAD6
ΔE00 3.22
Beige
#F5F5DC
ΔE00 3.26
Oldlace
#FDF5E6
ΔE00 4.08
Floralwhite
#FFFAF0
ΔE00 4.39
Off White (survey)
#FFFFE4
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F2E2 #E2E2F2
analogous
#F2EAE2 #F2F2E2 #EAF2E2
triadic
#F2F2E2 #E2F2F2 #F2E2F2
tetradic
#F2F2E2 #E2F2EA #E2E2F2 #F2E2EA
square
#F2F2E2 #E2F2EA #E2E2F2 #F2E2EA
split-complementary
#F2F2E2 #E2EAF2 #EAE2F2
monochromatic
#CCCC8D #DFDFB8 #F2F2E2 #F6F6EA #F6F6EA
Accessibility & contrast
On white
1.13
#F2F2E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.57
#F2F2E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F2E2
18.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F2E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F2E2 | 1.00 | 1.13 | 18.57 | 18.57 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5F0E1
Deuteranopia (green-blind)
#F5F1E3
Tritanopia (blue-blind)
#F5F0ED
Achromatopsia (no color)
#F1F1F1
Design tokens & code
CSS
--color: #f2f2e2; /* rgb */ color: rgb(242, 242, 226); /* oklch */ color: oklch(95.7% 0.021 106.8);
Tailwind
colors: {
custom: {
50: '#f6f6eb',
500: '#f2f2e2',
950: '#000000',
},
}SCSS
$custom: #f2f2e2; $custom-light: #f6f6eb; $custom-dark: #000000;
JSON
{
"hex": "#f2f2e2",
"rgb": {
"r": 242,
"g": 242,
"b": 226
},
"hsl": {
"h": 60,
"s": 38.095,
"l": 91.765
},
"oklch": {
"l": 0.95684,
"c": 0.02112,
"h": 106.8
},
"luminance": 0.87872
}Semantic roles & 50–950 ramp
primary
#F2F2E2
secondary
#AAAACE
accent
#34B134
background
#FFFFFE
surface
#FEFEFD
border
#D6D6D5
text
#171716
muted
#858584