#ECF291#ECF291
#ECF291 is a very light, vivid yellow. Relative luminance 0.834; OKLCH L 93.6% C 0.120 H 111.6°. Best body text is #000000 at 17.68:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF291 |
|---|---|
| RGB | rgb(236, 242, 145) |
| HSL | hsl(64, 79%, 76%) |
| HSV | hsv(64, 40%, 95%) |
| CMYK | cmyk(2.5%, 0%, 40.1%, 5.1%) |
| CIE-LAB | lab(93.18, -15.97, 46.07) |
| CIE-LCH | lch(93.18, 48.76, 109.12°) |
| OKLab | oklab(93.56% -0.0442 0.1119) |
| OKLCH | oklch(93.56% 0.12 111.6) |
| XYZ | xyz(71.4559, 83.3826, 39.1128) |
| Luminance | 0.8338 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 3.42
Buff
#FEF69E
ΔE00 3.99
Manilla
#FFFA86
ΔE00 4.45
Yellowish Tan
#FCFC81
ΔE00 4.50
Parchment
#FEFCAF
ΔE00 4.53
Khaki (CSS)
#F0E68C
ΔE00 4.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF291 #9791F2
analogous
#F2C791 #ECF291 #BBF291
triadic
#ECF291 #91ECF2 #F291EC
tetradic
#ECF291 #91F2C7 #9791F2 #F291BB
square
#ECF291 #91F2C7 #9791F2 #F291BB
split-complementary
#ECF291 #91BBF2 #C791F2
monochromatic
#D9E524 #E3EC5A #ECF291 #F5F8C8 #FAFCE4
Accessibility & contrast
On white
1.19
#ECF291 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.68
#ECF291 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF291
17.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF291 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF291 | 1.00 | 1.19 | 17.68 | 17.68 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA89
Deuteranopia (green-blind)
#FFED95
Tritanopia (blue-blind)
#F7E7DA
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #ecf291; /* rgb */ color: rgb(236, 242, 145); /* oklch */ color: oklch(93.6% 0.120 111.6);
Tailwind
colors: {
custom: {
50: '#f3f6b2',
500: '#ecf291',
950: '#000000',
},
}SCSS
$custom: #ecf291; $custom-light: #f3f6b2; $custom-dark: #000000;
JSON
{
"hex": "#ecf291",
"rgb": {
"r": 236,
"g": 242,
"b": 145
},
"hsl": {
"h": 63.711,
"s": 78.862,
"l": 75.882
},
"oklch": {
"l": 0.93563,
"c": 0.12032,
"h": 111.6
},
"luminance": 0.83381
}Semantic roles & 50–950 ramp
primary
#ECF291
secondary
#6058CF
accent
#0ADB17
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#171711
muted
#858581