#ECF976#ECF976
#ECF976 is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.7% C 0.155 H 114.1°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF976 |
|---|---|
| RGB | rgb(236, 249, 118) |
| HSL | hsl(66, 92%, 72%) |
| HSV | hsv(66, 53%, 98%) |
| CMYK | cmyk(5.2%, 0%, 52.6%, 2.4%) |
| CIE-LAB | lab(94.69, -21.88, 60.52) |
| CIE-LCH | lch(94.69, 64.36, 109.88°) |
| OKLab | oklab(94.67% -0.0634 0.1418) |
| OKLCH | oklch(94.67% 0.155 114.1) |
| XYZ | xyz(71.7391, 86.8934, 30.1290) |
| Luminance | 0.8689 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 3.10
Faded Yellow
#FEFF7F
ΔE00 3.12
Butter
#FFFF81
ΔE00 3.34
Banana (survey)
#FFFF7E
ΔE00 3.34
Pale Yellow
#FFFF84
ΔE00 3.37
Light Yellow
#FFFE7A
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF976 #8376F9
analogous
#F9C476 #ECF976 #ABF976
triadic
#ECF976 #76ECF9 #F976EC
tetradic
#ECF976 #76F9C4 #8376F9 #F976AB
square
#ECF976 #76F9C4 #8376F9 #F976AB
split-complementary
#ECF976 #76ABF9 #C476F9
monochromatic
#D4EA0A #E4F63B #ECF976 #F4FCB1 #FBFEE2
Accessibility & contrast
On white
1.14
#ECF976 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.38
#ECF976 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF976
18.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF976 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF976 | 1.00 | 1.14 | 18.38 | 18.38 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEE69
Deuteranopia (green-blind)
#FFF17D
Tritanopia (blue-blind)
#F9ECDC
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #ecf976; /* rgb */ color: rgb(236, 249, 118); /* oklch */ color: oklch(94.7% 0.155 114.1);
Tailwind
colors: {
custom: {
50: '#f4fba1',
500: '#ecf976',
950: '#000000',
},
}SCSS
$custom: #ecf976; $custom-light: #f4fba1; $custom-dark: #000000;
JSON
{
"hex": "#ecf976",
"rgb": {
"r": 236,
"g": 249,
"b": 118
},
"hsl": {
"h": 65.954,
"s": 91.608,
"l": 71.961
},
"oklch": {
"l": 0.94666,
"c": 0.15535,
"h": 114.1
},
"luminance": 0.86892
}Semantic roles & 50–950 ramp
primary
#ECF976
secondary
#4D3ED5
accent
#00E617
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580