#F2F2EF#F2F2EF
#F2F2EF is a very light, near-neutral yellow. Relative luminance 0.886; OKLCH L 96.0% C 0.004 H 106.5°. Best body text is #000000 at 18.72:1 contrast (WCAG AA passes).
Color values
| HEX | #F2F2EF |
|---|---|
| RGB | rgb(242, 242, 239) |
| HSL | hsl(60, 10%, 94%) |
| HSV | hsv(60, 1%, 95%) |
| CMYK | cmyk(0%, 0%, 1.2%, 5.1%) |
| CIE-LAB | lab(95.42, -0.53, 1.44) |
| CIE-LCH | lch(95.42, 1.54, 110.06°) |
| OKLab | oklab(96.03% -0.0011 0.0038) |
| OKLCH | oklch(96.03% 0.004 106.5) |
| XYZ | xyz(83.9476, 88.6136, 94.3262) |
| Luminance | 0.8861 (WCAG relative) |
| Temperature | neutral |
| Family | yellow |
Closest named colors
Off White
#FAF9F6
ΔE00 1.56
Whitesmoke
#F5F5F5
ΔE00 1.72
White
#FFFFFF
ΔE00 3.11
Pale Grey
#FDFDFE
ΔE00 3.14
Snow
#FFFAFA
ΔE00 3.81
Floralwhite
#FFFAF0
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2F2EF #EFEFF2
analogous
#F2F1EF #F2F2EF #F1F2EF
triadic
#F2F2EF #EFF2F2 #F2EFF2
tetradic
#F2F2EF #EFF2F1 #EFEFF2 #F2EFF1
square
#F2F2EF #EFF2F1 #EFEFF2 #F2EFF1
split-complementary
#F2F2EF #EFF1F2 #F1EFF2
monochromatic
#BBBBAB #D7D7CD #F1F1EE #F1F1EE #F1F1EE
Accessibility & contrast
On white
1.12
#F2F2EF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.72
#F2F2EF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2F2EF
18.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2F2EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2F2EF | 1.00 | 1.12 | 18.72 | 18.72 |
| #FFFFFF | 1.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3F2EF
Deuteranopia (green-blind)
#F3F2EF
Tritanopia (blue-blind)
#F3F2F1
Achromatopsia (no color)
#F2F2F2
Design tokens & code
CSS
--color: #f2f2ef; /* rgb */ color: rgb(242, 242, 239); /* oklch */ color: oklch(96.0% 0.004 106.5);
Tailwind
colors: {
custom: {
50: '#f6f6f4',
500: '#f2f2ef',
950: '#000000',
},
}SCSS
$custom: #f2f2ef; $custom-light: #f6f6f4; $custom-dark: #000000;
JSON
{
"hex": "#f2f2ef",
"rgb": {
"r": 242,
"g": 242,
"b": 239
},
"hsl": {
"h": 60,
"s": 10.345,
"l": 94.314
},
"oklch": {
"l": 0.96032,
"c": 0.00398,
"h": 106.5
},
"luminance": 0.88614
}Semantic roles & 50–950 ramp
primary
#F2F2EF
secondary
#BEBEC7
accent
#519451
background
#FFFFFF
surface
#FEFEFE
border
#D6D6D6
text
#171717
muted
#858585