#ECF171#ECF171
#ECF171 is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 92.9% C 0.151 H 111.0°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF171 |
|---|---|
| RGB | rgb(236, 241, 113) |
| HSL | hsl(62, 82%, 69%) |
| HSV | hsv(62, 53%, 95%) |
| CMYK | cmyk(2.1%, 0%, 53.1%, 5.5%) |
| CIE-LAB | lab(92.55, -18.44, 60.27) |
| CIE-LCH | lch(92.55, 63.03, 107.01°) |
| OKLab | oklab(92.94% -0.0541 0.1408) |
| OKLCH | oklch(92.94% 0.151 111) |
| XYZ | xyz(69.0296, 81.9372, 27.7987) |
| Luminance | 0.8194 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.78
Straw
#FCF679
ΔE00 2.95
Faded Yellow
#FEFF7F
ΔE00 3.17
Custard
#FFFD78
ΔE00 3.24
Light Yellow
#FFFE7A
ΔE00 3.25
Banana (survey)
#FFFF7E
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF171 #7671F1
analogous
#F1B671 #ECF171 #ACF171
triadic
#ECF171 #71ECF1 #F171EC
tetradic
#ECF171 #71F1B6 #7671F1 #F171AC
square
#ECF171 #71F1B6 #7671F1 #F171AC
split-complementary
#ECF171 #71ACF1 #B671F1
monochromatic
#CBD315 #E5EC39 #ECF171 #F3F6A9 #FBFCE0
Accessibility & contrast
On white
1.21
#ECF171 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.39
#ECF171 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF171
17.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF171 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF171 | 1.00 | 1.21 | 17.39 | 17.39 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#FFEB78
Tritanopia (blue-blind)
#FAE4D5
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #ecf171; /* rgb */ color: rgb(236, 241, 113); /* oklch */ color: oklch(92.9% 0.151 111.0);
Tailwind
colors: {
custom: {
50: '#f4f59d',
500: '#ecf171',
950: '#000000',
},
}SCSS
$custom: #ecf171; $custom-light: #f4f59d; $custom-dark: #000000;
JSON
{
"hex": "#ecf171",
"rgb": {
"r": 236,
"g": 241,
"b": 113
},
"hsl": {
"h": 62.344,
"s": 82.051,
"l": 69.412
},
"oklch": {
"l": 0.92936,
"c": 0.15084,
"h": 111
},
"luminance": 0.81936
}Semantic roles & 50–950 ramp
primary
#ECF171
secondary
#413CCA
accent
#07DE0F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580