#ECF173#ECF173
#ECF173 is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 93.0% C 0.149 H 111.0°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF173 |
|---|---|
| RGB | rgb(236, 241, 115) |
| HSL | hsl(62, 82%, 70%) |
| HSV | hsv(62, 52%, 95%) |
| CMYK | cmyk(2.1%, 0%, 52.3%, 5.5%) |
| CIE-LAB | lab(92.57, -18.28, 59.40) |
| CIE-LCH | lch(92.57, 62.15, 107.10°) |
| OKLab | oklab(92.96% -0.0535 0.1391) |
| OKLCH | oklch(92.96% 0.149 111) |
| XYZ | xyz(69.1434, 81.9827, 28.3982) |
| Luminance | 0.8198 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.75
Straw
#FCF679
ΔE00 2.96
Faded Yellow
#FEFF7F
ΔE00 3.17
Butter
#FFFF81
ΔE00 3.28
Banana (survey)
#FFFF7E
ΔE00 3.29
Light Yellow
#FFFE7A
ΔE00 3.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF173 #7873F1
analogous
#F1B773 #ECF173 #ADF173
triadic
#ECF173 #73ECF1 #F173EC
tetradic
#ECF173 #73F1B7 #7873F1 #F173AD
square
#ECF173 #73F1B7 #7873F1 #F173AD
split-complementary
#ECF173 #73ADF1 #B773F1
monochromatic
#CDD415 #E4EB3B #ECF173 #F4F7AB #FBFCE2
Accessibility & contrast
On white
1.21
#ECF173 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.40
#ECF173 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF173
17.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF173 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF173 | 1.00 | 1.21 | 17.40 | 17.40 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE867
Deuteranopia (green-blind)
#FFEB7A
Tritanopia (blue-blind)
#FAE4D5
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #ecf173; /* rgb */ color: rgb(236, 241, 115); /* oklch */ color: oklch(93.0% 0.149 111.0);
Tailwind
colors: {
custom: {
50: '#f4f59f',
500: '#ecf173',
950: '#000000',
},
}SCSS
$custom: #ecf173; $custom-light: #f4f59f; $custom-dark: #000000;
JSON
{
"hex": "#ecf173",
"rgb": {
"r": 236,
"g": 241,
"b": 115
},
"hsl": {
"h": 62.381,
"s": 81.818,
"l": 69.804
},
"oklch": {
"l": 0.92958,
"c": 0.14904,
"h": 111
},
"luminance": 0.81981
}Semantic roles & 50–950 ramp
primary
#ECF173
secondary
#433ECA
accent
#07DE10
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580