#ECF866#ECF866
#ECF866 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.3% C 0.168 H 113.6°. Best body text is #000000 at 18.19:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF866 |
|---|---|
| RGB | rgb(236, 248, 102) |
| HSL | hsl(65, 91%, 69%) |
| HSV | hsv(65, 59%, 97%) |
| CMYK | cmyk(4.8%, 0%, 58.9%, 2.7%) |
| CIE-LAB | lab(94.28, -22.62, 66.96) |
| CIE-LCH | lch(94.28, 70.68, 108.66°) |
| OKLab | oklab(94.29% -0.0671 0.1538) |
| OKLCH | oklch(94.29% 0.168 113.6) |
| XYZ | xyz(70.5594, 85.9283, 25.4366) |
| Luminance | 0.8593 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 3.11
Pastel Yellow
#FFFE71
ΔE00 3.27
Faded Yellow
#FEFF7F
ΔE00 3.39
Butter Yellow
#FFFD74
ΔE00 3.42
Light Yellow
#FFFE7A
ΔE00 3.44
Banana (survey)
#FFFF7E
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF866 #7266F8
analogous
#F8BB66 #ECF866 #A3F866
triadic
#ECF866 #66ECF8 #F866EC
tetradic
#ECF866 #66F8BB #7266F8 #F866A3
square
#ECF866 #66F8BB #7266F8 #F866A3
split-complementary
#ECF866 #66A3F8 #BB66F8
monochromatic
#C9DA0A #E5F52B #ECF866 #F3FBA1 #FBFDDB
Accessibility & contrast
On white
1.15
#ECF866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.19
#ECF866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF866
18.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF866 | 1.00 | 1.15 | 18.19 | 18.19 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED55
Deuteranopia (green-blind)
#FFF06F
Tritanopia (blue-blind)
#FAEBD9
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #ecf866; /* rgb */ color: rgb(236, 248, 102); /* oklch */ color: oklch(94.3% 0.168 113.6);
Tailwind
colors: {
custom: {
50: '#f5fa97',
500: '#ecf866',
950: '#000000',
},
}SCSS
$custom: #ecf866; $custom-light: #f5fa97; $custom-dark: #000000;
JSON
{
"hex": "#ecf866",
"rgb": {
"r": 236,
"g": 248,
"b": 102
},
"hsl": {
"h": 64.932,
"s": 91.25,
"l": 68.627
},
"oklch": {
"l": 0.94289,
"c": 0.16783,
"h": 113.6
},
"luminance": 0.85927
}Semantic roles & 50–950 ramp
primary
#ECF866
secondary
#3E31D2
accent
#00E613
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F