#ECF2B2#ECF2B2
#ECF2B2 is a very light, moderate yellow. Relative luminance 0.846; OKLCH L 94.1% C 0.082 H 112.3°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF2B2 |
|---|---|
| RGB | rgb(236, 242, 178) |
| HSL | hsl(66, 71%, 82%) |
| HSV | hsv(66, 26%, 95%) |
| CMYK | cmyk(2.5%, 0%, 26.4%, 5.1%) |
| CIE-LAB | lab(93.69, -12.04, 30.31) |
| CIE-LCH | lch(93.69, 32.61, 111.66°) |
| OKLab | oklab(94.13% -0.0313 0.0763) |
| OKLCH | oklch(94.13% 0.082 112.3) |
| XYZ | xyz(74.3799, 84.5522, 54.5127) |
| Luminance | 0.8455 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 3.21
Cream (survey)
#FFFFC2
ΔE00 3.43
Light Beige
#FFFEB6
ΔE00 3.66
Creme
#FFFFB6
ΔE00 3.72
Palegoldenrod
#EEE8AA
ΔE00 3.77
Egg Shell
#FFFCC4
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF2B2 #B8B2F2
analogous
#F2D8B2 #ECF2B2 #CCF2B2
triadic
#ECF2B2 #B2ECF2 #F2B2EC
tetradic
#ECF2B2 #B2F2D8 #B8B2F2 #F2B2CC
square
#ECF2B2 #B2F2D8 #B8B2F2 #F2B2CC
split-complementary
#ECF2B2 #B2CCF2 #D8B2F2
monochromatic
#D2E049 #DFE97E #ECF2B2 #F9FBE5 #F9FBE5
Accessibility & contrast
On white
1.17
#ECF2B2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.91
#ECF2B2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF2B2
17.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF2B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF2B2 | 1.00 | 1.17 | 17.91 | 17.91 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FCECAE
Deuteranopia (green-blind)
#FCEEB5
Tritanopia (blue-blind)
#F4EAE1
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #ecf2b2; /* rgb */ color: rgb(236, 242, 178); /* oklch */ color: oklch(94.1% 0.082 112.3);
Tailwind
colors: {
custom: {
50: '#f2f6c9',
500: '#ecf2b2',
950: '#000000',
},
}SCSS
$custom: #ecf2b2; $custom-light: #f2f6c9; $custom-dark: #000000;
JSON
{
"hex": "#ecf2b2",
"rgb": {
"r": 236,
"g": 242,
"b": 178
},
"hsl": {
"h": 65.625,
"s": 71.111,
"l": 82.353
},
"oklch": {
"l": 0.94133,
"c": 0.08247,
"h": 112.3
},
"luminance": 0.84551
}Semantic roles & 50–950 ramp
primary
#ECF2B2
secondary
#7F77D1
accent
#12D324
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171713
muted
#858582