#ECFB9E#ECFB9E
#ECFB9E is a very light, moderate yellow. Relative luminance 0.893; OKLCH L 95.6% C 0.117 H 116.1°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).
Color values
| HEX | #ECFB9E |
|---|---|
| RGB | rgb(236, 251, 158) |
| HSL | hsl(70, 92%, 80%) |
| HSV | hsv(70, 37%, 98%) |
| CMYK | cmyk(6%, 0%, 37.1%, 1.6%) |
| CIE-LAB | lab(95.70, -18.91, 42.95) |
| CIE-LCH | lch(95.70, 46.92, 113.77°) |
| OKLab | oklab(95.63% -0.0517 0.1054) |
| OKLCH | oklch(95.63% 0.117 116.1) |
| XYZ | xyz(75.2611, 89.2965, 45.6123) |
| Luminance | 0.8930 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.65
Parchment
#FEFCAF
ΔE00 4.75
Creme
#FFFFB6
ΔE00 4.92
Light Beige
#FFFEB6
ΔE00 5.17
Buff
#FEF69E
ΔE00 5.68
Yellowish Tan
#FCFC81
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECFB9E #AD9EFB
analogous
#FBDB9E #ECFB9E #BEFB9E
triadic
#ECFB9E #9EECFB #FB9EEC
tetradic
#ECFB9E #9EFBDB #AD9EFB #FB9EBE
square
#ECFB9E #9EFBDB #AD9EFB #FB9EBE
split-complementary
#ECFB9E #9EBEFB #DB9EFB
monochromatic
#D5F628 #E0F963 #ECFB9E #F8FDD9 #F9FEE2
Accessibility & contrast
On white
1.11
#ECFB9E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.86
#ECFB9E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECFB9E
18.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECFB9E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECFB9E | 1.00 | 1.11 | 18.86 | 18.86 |
| #FFFFFF | 1.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF297
Deuteranopia (green-blind)
#FFF3A2
Tritanopia (blue-blind)
#F6F1E4
Achromatopsia (no color)
#F3F3F3
Design tokens & code
CSS
--color: #ecfb9e; /* rgb */ color: rgb(236, 251, 158); /* oklch */ color: oklch(95.6% 0.117 116.1);
Tailwind
colors: {
custom: {
50: '#f3fcbc',
500: '#ecfb9e',
950: '#000000',
},
}SCSS
$custom: #ecfb9e; $custom-light: #f3fcbc; $custom-dark: #000000;
JSON
{
"hex": "#ecfb9e",
"rgb": {
"r": 236,
"g": 251,
"b": 158
},
"hsl": {
"h": 69.677,
"s": 92.079,
"l": 80.196
},
"oklch": {
"l": 0.95632,
"c": 0.11738,
"h": 116.1
},
"luminance": 0.89296
}Semantic roles & 50–950 ramp
primary
#ECFB9E
secondary
#7560DD
accent
#00E625
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171712
muted
#858582