#ECF97F#ECF97F
#ECF97F is a very light, vivid yellow. Relative luminance 0.871; OKLCH L 94.8% C 0.147 H 114.3°. Best body text is #000000 at 18.42:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF97F |
|---|---|
| RGB | rgb(236, 249, 127) |
| HSL | hsl(66, 91%, 74%) |
| HSV | hsv(66, 49%, 98%) |
| CMYK | cmyk(5.2%, 0%, 49%, 2.4%) |
| CIE-LAB | lab(94.79, -21.11, 56.56) |
| CIE-LCH | lch(94.79, 60.37, 110.47°) |
| OKLab | oklab(94.77% -0.0604 0.134) |
| OKLCH | oklch(94.77% 0.147 114.3) |
| XYZ | xyz(72.2997, 87.1176, 33.0812) |
| Luminance | 0.8712 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 3.19
Faded Yellow
#FEFF7F
ΔE00 3.37
Pale Yellow
#FFFF84
ΔE00 3.43
Butter
#FFFF81
ΔE00 3.51
Banana (survey)
#FFFF7E
ΔE00 3.62
Light Yellow
#FFFE7A
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF97F #8C7FF9
analogous
#F9C97F #ECF97F #AFF97F
triadic
#ECF97F #7FECF9 #F97FEC
tetradic
#ECF97F #7FF9C9 #8C7FF9 #F97FAF
square
#ECF97F #7FF9C9 #8C7FF9 #F97FAF
split-complementary
#ECF97F #7FAFF9 #C97FF9
monochromatic
#DAF20B #E3F645 #ECF97F #F5FCB9 #FBFEE2
Accessibility & contrast
On white
1.14
#ECF97F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.42
#ECF97F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF97F
18.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF97F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF97F | 1.00 | 1.14 | 18.42 | 18.42 |
| #FFFFFF | 1.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEF74
Deuteranopia (green-blind)
#FFF185
Tritanopia (blue-blind)
#F8EDDD
Achromatopsia (no color)
#F0F0F0
Design tokens & code
CSS
--color: #ecf97f; /* rgb */ color: rgb(236, 249, 127); /* oklch */ color: oklch(94.8% 0.147 114.3);
Tailwind
colors: {
custom: {
50: '#f4fba7',
500: '#ecf97f',
950: '#000000',
},
}SCSS
$custom: #ecf97f; $custom-light: #f4fba7; $custom-dark: #000000;
JSON
{
"hex": "#ecf97f",
"rgb": {
"r": 236,
"g": 249,
"b": 127
},
"hsl": {
"h": 66.393,
"s": 91.045,
"l": 73.725
},
"oklch": {
"l": 0.94773,
"c": 0.14699,
"h": 114.3
},
"luminance": 0.87117
}Semantic roles & 50–950 ramp
primary
#ECF97F
secondary
#5546D6
accent
#00E618
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580