#F2F2DC#F2F2DC
#F2F2DC is a very light, muted yellow. Relative luminance 0.875; OKLCH L 95.5% C 0.029 H 106.9°. Best body text is #000000 at 18.51:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F2DC |
|---|---|
| RGB | rgb(242, 242, 220) |
| HSL | hsl(60, 46%, 91%) |
| HSV | hsv(60, 9%, 95%) |
| CMYK | cmyk(0%, 0%, 9.1%, 5.1%) |
| CIE-LAB | lab(94.97, -3.72, 10.62) |
| CIE-LCH | lch(94.97, 11.26, 109.30°) |
| OKLab | oklab(95.53% -0.0084 0.0277) |
| OKLCH | oklch(95.53% 0.029 106.9) |
| XYZ | xyz(81.2868, 87.5493, 80.3127) |
| Luminance | 0.8755 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige
#F5F5DC
ΔE00 1.16
Off White (survey)
#FFFFE4
ΔE00 3.04
Eggshell
#F0EAD6
ΔE00 3.30
Cornsilk
#FFF8DC
ΔE00 3.59
Lightyellow
#FFFFE0
ΔE00 3.81
Ivory
#FFFFF0
ΔE00 3.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F2DC #DCDCF2
analogous
#F2E7DC #F2F2DC #E7F2DC
triadic
#F2F2DC #DCF2F2 #F2DCF2
tetradic
#F2F2DC #DCF2E7 #DCDCF2 #F2DCE7
square
#F2F2DC #DCF2E7 #DCDCF2 #F2DCE7
split-complementary
#F2F2DC #DCE7F2 #E7DCF2
monochromatic
#D1D183 #E1E1AF #F2F2DC #F7F7E9 #F7F7E9
Accessibility & contrast
On white
1.13
#F2F2DC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.51
#F2F2DC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F2DC
18.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F2DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F2DC | 1.00 | 1.13 | 18.51 | 18.51 |
| #FFFFFF | 1.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6F0DB
Deuteranopia (green-blind)
#F7F1DD
Tritanopia (blue-blind)
#F6EFEC
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f2f2dc; /* rgb */ color: rgb(242, 242, 220); /* oklch */ color: oklch(95.5% 0.029 106.9);
Tailwind
colors: {
custom: {
50: '#f6f6e6',
500: '#f2f2dc',
950: '#000000',
},
}SCSS
$custom: #f2f2dc; $custom-light: #f6f6e6; $custom-dark: #000000;
JSON
{
"hex": "#f2f2dc",
"rgb": {
"r": 242,
"g": 242,
"b": 220
},
"hsl": {
"h": 60,
"s": 45.833,
"l": 90.588
},
"oklch": {
"l": 0.95531,
"c": 0.02895,
"h": 106.9
},
"luminance": 0.87549
}Semantic roles & 50–950 ramp
primary
#F2F2DC
secondary
#A3A3D0
accent
#2CB92C
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171716
muted
#858584