#ECF179#ECF179
#ECF179 is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 93.0% C 0.143 H 111.0°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF179 |
|---|---|
| RGB | rgb(236, 241, 121) |
| HSL | hsl(63, 81%, 71%) |
| HSV | hsv(63, 50%, 95%) |
| CMYK | cmyk(2.1%, 0%, 49.8%, 5.5%) |
| CIE-LAB | lab(92.63, -17.78, 56.75) |
| CIE-LCH | lch(92.63, 59.47, 107.39°) |
| OKLab | oklab(93.03% -0.0515 0.1339) |
| OKLCH | oklch(93.03% 0.143 111) |
| XYZ | xyz(69.5000, 82.1254, 30.2761) |
| Luminance | 0.8212 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.75
Straw
#FCF679
ΔE00 3.12
Manilla
#FFFA86
ΔE00 3.28
Faded Yellow
#FEFF7F
ΔE00 3.29
Pale Yellow
#FFFF84
ΔE00 3.30
Butter
#FFFF81
ΔE00 3.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF179 #7E79F1
analogous
#F1BA79 #ECF179 #B0F179
triadic
#ECF179 #79ECF1 #F179EC
tetradic
#ECF179 #79F1BA #7E79F1 #F179B0
square
#ECF179 #79F1BA #7E79F1 #F179B0
split-complementary
#ECF179 #79B0F1 #BA79F1
monochromatic
#D1D917 #E4EB42 #ECF179 #F4F7B0 #FBFCE3
Accessibility & contrast
On white
1.21
#ECF179 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.42
#ECF179 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF179
17.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF179 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF179 | 1.00 | 1.21 | 17.42 | 17.42 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE86E
Deuteranopia (green-blind)
#FFEC7F
Tritanopia (blue-blind)
#F9E5D6
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #ecf179; /* rgb */ color: rgb(236, 241, 121); /* oklch */ color: oklch(93.0% 0.143 111.0);
Tailwind
colors: {
custom: {
50: '#f4f5a2',
500: '#ecf179',
950: '#000000',
},
}SCSS
$custom: #ecf179; $custom-light: #f4f5a2; $custom-dark: #000000;
JSON
{
"hex": "#ecf179",
"rgb": {
"r": 236,
"g": 241,
"b": 121
},
"hsl": {
"h": 62.5,
"s": 81.081,
"l": 70.98
},
"oklch": {
"l": 0.93029,
"c": 0.14348,
"h": 111
},
"luminance": 0.82124
}Semantic roles & 50–950 ramp
primary
#ECF179
secondary
#4943CB
accent
#08DD11
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580