#F2F2D2#F2F2D2
#F2F2D2 is a very light, muted yellow. Relative luminance 0.870; OKLCH L 95.3% C 0.042 H 107.2°. Best body text is #000000 at 18.41:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F2D2 |
|---|---|
| RGB | rgb(242, 242, 210) |
| HSL | hsl(60, 55%, 89%) |
| HSV | hsv(60, 13%, 95%) |
| CMYK | cmyk(0%, 0%, 13.2%, 5.1%) |
| CIE-LAB | lab(94.75, -5.30, 15.47) |
| CIE-LCH | lch(94.75, 16.35, 108.89°) |
| OKLab | oklab(95.29% -0.0124 0.04) |
| OKLCH | oklch(95.29% 0.042 107.2) |
| XYZ | xyz(80.0018, 87.0353, 73.5452) |
| Luminance | 0.8703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Beige
#F5F5DC
ΔE00 2.34
Lightgoldenrodyellow
#FAFAD2
ΔE00 2.69
Lightyellow
#FFFFE0
ΔE00 2.69
Off White (survey)
#FFFFE4
ΔE00 3.17
Pale
#FFF9D0
ΔE00 3.54
Cornsilk
#FFF8DC
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F2D2 #D2D2F2
analogous
#F2E2D2 #F2F2D2 #E2F2D2
triadic
#F2F2D2 #D2F2F2 #F2D2F2
tetradic
#F2F2D2 #D2F2E2 #D2D2F2 #F2D2E2
square
#F2F2D2 #D2F2E2 #D2D2F2 #F2D2E2
split-complementary
#F2F2D2 #D2E2F2 #E2D2F2
monochromatic
#D7D773 #E4E4A3 #F2F2D2 #F8F8E7 #F8F8E7
Accessibility & contrast
On white
1.14
#F2F2D2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.41
#F2F2D2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F2D2
18.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F2D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F2D2 | 1.00 | 1.14 | 18.41 | 18.41 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8EFD0
Deuteranopia (green-blind)
#F9F1D3
Tritanopia (blue-blind)
#F7EEE9
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #f2f2d2; /* rgb */ color: rgb(242, 242, 210); /* oklch */ color: oklch(95.3% 0.042 107.2);
Tailwind
colors: {
custom: {
50: '#f6f6df',
500: '#f2f2d2',
950: '#000000',
},
}SCSS
$custom: #f2f2d2; $custom-light: #f6f6df; $custom-dark: #000000;
JSON
{
"hex": "#f2f2d2",
"rgb": {
"r": 242,
"g": 242,
"b": 210
},
"hsl": {
"h": 60,
"s": 55.172,
"l": 88.627
},
"oklch": {
"l": 0.95287,
"c": 0.0419,
"h": 107.2
},
"luminance": 0.87035
}Semantic roles & 50–950 ramp
primary
#F2F2D2
secondary
#9797D1
accent
#23C323
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171715
muted
#858584