#ECF572#ECF572
#ECF572 is a very light, vivid yellow. Relative luminance 0.844; OKLCH L 93.8% C 0.154 H 112.6°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF572 |
|---|---|
| RGB | rgb(236, 245, 114) |
| HSL | hsl(64, 87%, 70%) |
| HSV | hsv(64, 53%, 96%) |
| CMYK | cmyk(3.7%, 0%, 53.5%, 3.9%) |
| CIE-LAB | lab(93.60, -20.29, 61.04) |
| CIE-LCH | lch(93.60, 64.33, 108.39°) |
| OKLab | oklab(93.78% -0.0593 0.1426) |
| OKLCH | oklch(93.78% 0.154 112.6) |
| XYZ | xyz(70.2832, 84.3539, 28.4958) |
| Luminance | 0.8435 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.78
Faded Yellow
#FEFF7F
ΔE00 2.95
Banana (survey)
#FFFF7E
ΔE00 3.12
Butter
#FFFF81
ΔE00 3.14
Light Yellow
#FFFE7A
ΔE00 3.18
Pale Yellow
#FFFF84
ΔE00 3.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF572 #7B72F5
analogous
#F5BC72 #ECF572 #AAF572
triadic
#ECF572 #72ECF5 #F572EC
tetradic
#ECF572 #72F5BC #7B72F5 #F572AA
square
#ECF572 #72F5BC #7B72F5 #F572AA
split-complementary
#ECF572 #72AAF5 #BC72F5
monochromatic
#CFDD10 #E4F139 #ECF572 #F4F9AB #FBFDE2
Accessibility & contrast
On white
1.18
#ECF572 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.87
#ECF572 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF572
17.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF572 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF572 | 1.00 | 1.18 | 17.87 | 17.87 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB65
Deuteranopia (green-blind)
#FFEE79
Tritanopia (blue-blind)
#FAE8D8
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #ecf572; /* rgb */ color: rgb(236, 245, 114); /* oklch */ color: oklch(93.8% 0.154 112.6);
Tailwind
colors: {
custom: {
50: '#f4f89e',
500: '#ecf572',
950: '#000000',
},
}SCSS
$custom: #ecf572; $custom-light: #f4f89e; $custom-dark: #000000;
JSON
{
"hex": "#ecf572",
"rgb": {
"r": 236,
"g": 245,
"b": 114
},
"hsl": {
"h": 64.122,
"s": 86.755,
"l": 70.392
},
"oklch": {
"l": 0.93783,
"c": 0.15439,
"h": 112.6
},
"luminance": 0.84353
}Semantic roles & 50–950 ramp
primary
#ECF572
secondary
#463CCF
accent
#02E312
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580