#ECF170#ECF170
#ECF170 is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 92.9% C 0.152 H 111.0°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF170 |
|---|---|
| RGB | rgb(236, 241, 112) |
| HSL | hsl(62, 82%, 69%) |
| HSV | hsv(62, 54%, 95%) |
| CMYK | cmyk(2.1%, 0%, 53.5%, 5.5%) |
| CIE-LAB | lab(92.54, -18.52, 60.71) |
| CIE-LCH | lch(92.54, 63.47, 106.96°) |
| OKLab | oklab(92.93% -0.0545 0.1416) |
| OKLCH | oklch(92.93% 0.152 111) |
| XYZ | xyz(68.9736, 81.9148, 27.5038) |
| Luminance | 0.8191 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.81
Straw
#FCF679
ΔE00 2.95
Faded Yellow
#FEFF7F
ΔE00 3.17
Custard
#FFFD78
ΔE00 3.22
Light Yellow
#FFFE7A
ΔE00 3.23
Banana (survey)
#FFFF7E
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF170 #7570F1
analogous
#F1B670 #ECF170 #ABF170
triadic
#ECF170 #70ECF1 #F170EC
tetradic
#ECF170 #70F1B6 #7570F1 #F170AB
square
#ECF170 #70F1B6 #7570F1 #F170AB
split-complementary
#ECF170 #70ABF1 #B670F1
monochromatic
#CBD215 #E5EC38 #ECF170 #F3F6A8 #FBFCDF
Accessibility & contrast
On white
1.21
#ECF170 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.38
#ECF170 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF170
17.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF170 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF170 | 1.00 | 1.21 | 17.38 | 17.38 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE863
Deuteranopia (green-blind)
#FFEB77
Tritanopia (blue-blind)
#FAE4D4
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #ecf170; /* rgb */ color: rgb(236, 241, 112); /* oklch */ color: oklch(92.9% 0.152 111.0);
Tailwind
colors: {
custom: {
50: '#f4f59d',
500: '#ecf170',
950: '#000000',
},
}SCSS
$custom: #ecf170; $custom-light: #f4f59d; $custom-dark: #000000;
JSON
{
"hex": "#ecf170",
"rgb": {
"r": 236,
"g": 241,
"b": 112
},
"hsl": {
"h": 62.326,
"s": 82.166,
"l": 69.216
},
"oklch": {
"l": 0.92925,
"c": 0.15173,
"h": 111
},
"luminance": 0.81913
}Semantic roles & 50–950 ramp
primary
#ECF170
secondary
#413BCA
accent
#07DF0F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580