#ECF96C#ECF96C
#ECF96C is a very light, vivid yellow. Relative luminance 0.867; OKLCH L 94.6% C 0.164 H 114.0°. Best body text is #000000 at 18.33:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF96C |
|---|---|
| RGB | rgb(236, 249, 108) |
| HSL | hsl(66, 92%, 70%) |
| HSV | hsv(66, 57%, 98%) |
| CMYK | cmyk(5.2%, 0%, 56.6%, 2.4%) |
| CIE-LAB | lab(94.60, -22.66, 64.78) |
| CIE-LCH | lch(94.60, 68.63, 109.28°) |
| OKLab | oklab(94.56% -0.0666 0.1499) |
| OKLCH | oklch(94.56% 0.164 114) |
| XYZ | xyz(71.1761, 86.6682, 27.1636) |
| Luminance | 0.8667 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Faded Yellow
#FEFF7F
ΔE00 3.24
Yellowish Tan
#FCFC81
ΔE00 3.39
Banana (survey)
#FFFF7E
ΔE00 3.40
Light Yellow
#FFFE7A
ΔE00 3.43
Pastel Yellow
#FFFE71
ΔE00 3.44
Canary
#FDFF63
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF96C #796CF9
analogous
#F9C06C #ECF96C #A5F96C
triadic
#ECF96C #6CECF9 #F96CEC
tetradic
#ECF96C #6CF9C0 #796CF9 #F96CA5
square
#ECF96C #6CF9C0 #796CF9 #F96CA5
split-complementary
#ECF96C #6CA5F9 #C06CF9
monochromatic
#CDE109 #E4F731 #ECF96C #F4FBA7 #FBFEE2
Accessibility & contrast
On white
1.15
#ECF96C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.33
#ECF96C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF96C
18.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF96C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF96C | 1.00 | 1.15 | 18.33 | 18.33 |
| #FFFFFF | 1.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEE5D
Deuteranopia (green-blind)
#FFF174
Tritanopia (blue-blind)
#FAECDA
Achromatopsia (no color)
#EFEFEF
Design tokens & code
CSS
--color: #ecf96c; /* rgb */ color: rgb(236, 249, 108); /* oklch */ color: oklch(94.6% 0.164 114.0);
Tailwind
colors: {
custom: {
50: '#f5fb9b',
500: '#ecf96c',
950: '#000000',
},
}SCSS
$custom: #ecf96c; $custom-light: #f5fb9b; $custom-dark: #000000;
JSON
{
"hex": "#ecf96c",
"rgb": {
"r": 236,
"g": 249,
"b": 108
},
"hsl": {
"h": 65.532,
"s": 92.157,
"l": 70
},
"oklch": {
"l": 0.94559,
"c": 0.16404,
"h": 114
},
"luminance": 0.86667
}Semantic roles & 50–950 ramp
primary
#ECF96C
secondary
#4436D4
accent
#00E615
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F