#F2ECCF#F2ECCF
#F2ECCF is a very light, muted yellow. Relative luminance 0.834; OKLCH L 94.0% C 0.039 H 97.4°. Best body text is #000000 at 17.67:1 contrast (WCAG AA passes).
Color values
| HEX | #F2ECCF |
|---|---|
| RGB | rgb(242, 236, 207) |
| HSL | hsl(50, 57%, 88%) |
| HSV | hsv(50, 14%, 95%) |
| CMYK | cmyk(0%, 2.5%, 14.5%, 5.1%) |
| CIE-LAB | lab(93.18, -2.73, 14.80) |
| CIE-LCH | lch(93.18, 15.05, 100.44°) |
| OKLab | oklab(94.02% -0.005 0.0383) |
| OKLCH | oklch(94.02% 0.039 97.4) |
| XYZ | xyz(77.8750, 83.3740, 71.0097) |
| Luminance | 0.8337 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Cornsilk
#FFF8DC
ΔE00 2.63
Eggshell
#F0EAD6
ΔE00 3.12
Beige
#F5F5DC
ΔE00 3.17
Pale
#FFF9D0
ΔE00 4.25
Off White (survey)
#FFFFE4
ΔE00 4.47
Lightyellow
#FFFFE0
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2ECCF #CFD5F2
analogous
#F2DACF #F2ECCF #E6F2CF
triadic
#F2ECCF #CFF2EC #ECCFF2
tetradic
#F2ECCF #CFF2DA #CFD5F2 #F2CFE6
square
#F2ECCF #CFF2DA #CFD5F2 #F2CFE6
split-complementary
#F2ECCF #CFE6F2 #DACFF2
monochromatic
#D8C66F #E5D99F #F2ECCF #F8F5E7 #F8F5E7
Accessibility & contrast
On white
1.19
#F2ECCF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.67
#F2ECCF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2ECCF
17.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2ECCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2ECCF | 1.00 | 1.19 | 17.67 | 17.67 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2EACD
Deuteranopia (green-blind)
#F4ECD0
Tritanopia (blue-blind)
#F8E8E4
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #f2eccf; /* rgb */ color: rgb(242, 236, 207); /* oklch */ color: oklch(94.0% 0.039 97.4);
Tailwind
colors: {
custom: {
50: '#f6f2dd',
500: '#f2eccf',
950: '#000000',
},
}SCSS
$custom: #f2eccf; $custom-light: #f6f2dd; $custom-dark: #000000;
JSON
{
"hex": "#f2eccf",
"rgb": {
"r": 242,
"g": 236,
"b": 207
},
"hsl": {
"h": 49.714,
"s": 57.377,
"l": 88.039
},
"oklch": {
"l": 0.94024,
"c": 0.03866,
"h": 97.4
},
"luminance": 0.83373
}Semantic roles & 50–950 ramp
primary
#F2ECCF
secondary
#949ED1
accent
#3DC521
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171615
muted
#858584