#ECF172#ECF172
#ECF172 is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 92.9% C 0.150 H 111.0°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF172 |
|---|---|
| RGB | rgb(236, 241, 114) |
| HSL | hsl(62, 82%, 70%) |
| HSV | hsv(62, 53%, 95%) |
| CMYK | cmyk(2.1%, 0%, 52.7%, 5.5%) |
| CIE-LAB | lab(92.56, -18.36, 59.84) |
| CIE-LCH | lch(92.56, 62.59, 107.06°) |
| OKLab | oklab(92.95% -0.0538 0.14) |
| OKLCH | oklch(92.95% 0.15 111) |
| XYZ | xyz(69.0862, 81.9599, 28.0968) |
| Luminance | 0.8196 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.76
Straw
#FCF679
ΔE00 2.96
Faded Yellow
#FEFF7F
ΔE00 3.17
Custard
#FFFD78
ΔE00 3.26
Light Yellow
#FFFE7A
ΔE00 3.27
Butter
#FFFF81
ΔE00 3.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF172 #7772F1
analogous
#F1B672 #ECF172 #ADF172
triadic
#ECF172 #72ECF1 #F172EC
tetradic
#ECF172 #72F1B6 #7772F1 #F172AD
square
#ECF172 #72F1B6 #7772F1 #F172AD
split-complementary
#ECF172 #72ADF1 #B672F1
monochromatic
#CCD415 #E4EB3A #ECF172 #F4F7AA #FBFCE1
Accessibility & contrast
On white
1.21
#ECF172 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.39
#ECF172 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF172
17.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF172 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF172 | 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)
#FFE865
Deuteranopia (green-blind)
#FFEB79
Tritanopia (blue-blind)
#FAE4D5
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #ecf172; /* rgb */ color: rgb(236, 241, 114); /* oklch */ color: oklch(92.9% 0.150 111.0);
Tailwind
colors: {
custom: {
50: '#f4f59e',
500: '#ecf172',
950: '#000000',
},
}SCSS
$custom: #ecf172; $custom-light: #f4f59e; $custom-dark: #000000;
JSON
{
"hex": "#ecf172",
"rgb": {
"r": 236,
"g": 241,
"b": 114
},
"hsl": {
"h": 62.362,
"s": 81.935,
"l": 69.608
},
"oklch": {
"l": 0.92947,
"c": 0.14994,
"h": 111
},
"luminance": 0.81958
}Semantic roles & 50–950 ramp
primary
#ECF172
secondary
#423DCA
accent
#07DE10
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580