#E2ECA1#E2ECA1
#E2ECA1 is a very light, moderate yellow. Relative luminance 0.787; OKLCH L 91.8% C 0.097 H 114.5°. Best body text is #000000 at 16.75:1 contrast (WCAG AA passes).
Color values
| HEX | #E2ECA1 |
|---|---|
| RGB | rgb(226, 236, 161) |
| HSL | hsl(68, 66%, 78%) |
| HSV | hsv(68, 32%, 93%) |
| CMYK | cmyk(4.2%, 0%, 31.8%, 7.5%) |
| CIE-LAB | lab(91.11, -14.96, 35.33) |
| CIE-LCH | lch(91.11, 38.37, 112.95°) |
| OKLab | oklab(91.81% -0.04 0.0878) |
| OKLCH | oklch(91.81% 0.097 114.5) |
| XYZ | xyz(67.7926, 78.7335, 45.3371) |
| Luminance | 0.7873 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 1.46
Palegoldenrod
#EEE8AA
ΔE00 4.84
Parchment
#FEFCAF
ΔE00 4.96
Creme
#FFFFB6
ΔE00 5.10
Light Beige
#FFFEB6
ΔE00 5.13
Cream (survey)
#FFFFC2
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2ECA1 #ABA1EC
analogous
#ECD0A1 #E2ECA1 #BCECA1
triadic
#E2ECA1 #A1E2EC #ECA1E2
tetradic
#E2ECA1 #A1ECD0 #ABA1EC #ECA1BC
square
#E2ECA1 #A1ECD0 #ABA1EC #ECA1BC
split-complementary
#E2ECA1 #A1BCEC #D0A1EC
monochromatic
#C3D73B #D2E26E #E2ECA1 #F2F6D4 #F7FAE6
Accessibility & contrast
On white
1.25
#E2ECA1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.75
#E2ECA1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2ECA1
16.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2ECA1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2ECA1 | 1.00 | 1.25 | 16.75 | 16.75 |
| #FFFFFF | 1.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6E59C
Deuteranopia (green-blind)
#F6E6A4
Tritanopia (blue-blind)
#EAE4D9
Achromatopsia (no color)
#E5E5E5
Design tokens & code
CSS
--color: #e2eca1; /* rgb */ color: rgb(226, 236, 161); /* oklch */ color: oklch(91.8% 0.097 114.5);
Tailwind
colors: {
custom: {
50: '#ecf2bd',
500: '#e2eca1',
950: '#000000',
},
}SCSS
$custom: #e2eca1; $custom-light: #ecf2bd; $custom-dark: #000000;
JSON
{
"hex": "#e2eca1",
"rgb": {
"r": 226,
"g": 236,
"b": 161
},
"hsl": {
"h": 68,
"s": 66.372,
"l": 77.843
},
"oklch": {
"l": 0.91811,
"c": 0.09654,
"h": 114.5
},
"luminance": 0.78733
}Semantic roles & 50–950 ramp
primary
#E2ECA1
secondary
#7669C8
accent
#17CE30
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161612
muted
#858582