#ECFCA2#ECFCA2
#ECFCA2 is a very light, moderate yellow-green. Relative luminance 0.901; OKLCH L 95.9% C 0.114 H 116.8°. Best body text is #000000 at 19.01:1 contrast (WCAG AA passes).
Color values
| HEX | #ECFCA2 |
|---|---|
| RGB | rgb(236, 252, 162) |
| HSL | hsl(71, 94%, 81%) |
| HSV | hsv(71, 36%, 99%) |
| CMYK | cmyk(6.3%, 0%, 35.7%, 1.2%) |
| CIE-LAB | lab(96.02, -18.93, 41.40) |
| CIE-LCH | lch(96.02, 45.52, 114.57°) |
| OKLab | oklab(95.91% -0.0515 0.102) |
| OKLCH | oklch(95.91% 0.114 116.8) |
| XYZ | xyz(75.9242, 90.0629, 47.5595) |
| Luminance | 0.9006 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.49
Parchment
#FEFCAF
ΔE00 4.74
Creme
#FFFFB6
ΔE00 4.77
Light Beige
#FFFEB6
ΔE00 5.02
Buff
#FEF69E
ΔE00 5.96
Cream (survey)
#FFFFC2
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECFCA2 #B2A2FC
analogous
#FCDFA2 #ECFCA2 #BFFCA2
triadic
#ECFCA2 #A2ECFC #FCA2EC
tetradic
#ECFCA2 #A2FCDF #B2A2FC #FCA2BF
square
#ECFCA2 #A2FCDF #B2A2FC #FCA2BF
split-complementary
#ECFCA2 #A2BFFC #DFA2FC
monochromatic
#D4F82B #E0FA67 #ECFCA2 #F8FEDD #F9FEE1
Accessibility & contrast
On white
1.10
#ECFCA2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.01
#ECFCA2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECFCA2
19.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECFCA2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECFCA2 | 1.00 | 1.10 | 19.01 | 19.01 |
| #FFFFFF | 1.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF39B
Deuteranopia (green-blind)
#FFF4A6
Tritanopia (blue-blind)
#F5F3E5
Achromatopsia (no color)
#F4F4F4
Design tokens & code
CSS
--color: #ecfca2; /* rgb */ color: rgb(236, 252, 162); /* oklch */ color: oklch(95.9% 0.114 116.8);
Tailwind
colors: {
custom: {
50: '#f3fdbe',
500: '#ecfca2',
950: '#000000',
},
}SCSS
$custom: #ecfca2; $custom-light: #f3fdbe; $custom-dark: #000000;
JSON
{
"hex": "#ecfca2",
"rgb": {
"r": 236,
"g": 252,
"b": 162
},
"hsl": {
"h": 70.667,
"s": 93.75,
"l": 81.176
},
"oklch": {
"l": 0.95905,
"c": 0.11424,
"h": 116.8
},
"luminance": 0.90062
}Semantic roles & 50–950 ramp
primary
#ECFCA2
secondary
#7963DF
accent
#00E629
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171712
muted
#858582