#ECF072#ECF072
#ECF072 is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 92.7% C 0.149 H 110.6°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF072 |
|---|---|
| RGB | rgb(236, 240, 114) |
| HSL | hsl(62, 81%, 69%) |
| HSV | hsv(62, 53%, 94%) |
| CMYK | cmyk(1.7%, 0%, 52.5%, 5.9%) |
| CIE-LAB | lab(92.30, -17.87, 59.54) |
| CIE-LCH | lch(92.30, 62.16, 106.71°) |
| OKLab | oklab(92.74% -0.0524 0.1393) |
| OKLCH | oklch(92.74% 0.149 110.6) |
| XYZ | xyz(68.7910, 81.3695, 27.9984) |
| Luminance | 0.8137 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.83
Straw
#FCF679
ΔE00 2.86
Faded Yellow
#FEFF7F
ΔE00 3.28
Custard
#FFFD78
ΔE00 3.33
Light Yellow
#FFFE7A
ΔE00 3.35
Butter
#FFFF81
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF072 #7672F0
analogous
#F0B572 #ECF072 #ADF072
triadic
#ECF072 #72ECF0 #F072EC
tetradic
#ECF072 #72F0B5 #7672F0 #F072AD
square
#ECF072 #72F0B5 #7672F0 #F072AD
split-complementary
#ECF072 #72ADF0 #B572F0
monochromatic
#CBD116 #E5EA3B #ECF072 #F3F6A9 #FBFCE1
Accessibility & contrast
On white
1.22
#ECF072 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.27
#ECF072 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF072
17.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF072 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF072 | 1.00 | 1.22 | 17.27 | 17.27 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE766
Deuteranopia (green-blind)
#FFEB79
Tritanopia (blue-blind)
#FAE3D4
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #ecf072; /* rgb */ color: rgb(236, 240, 114); /* oklch */ color: oklch(92.7% 0.149 110.6);
Tailwind
colors: {
custom: {
50: '#f4f49e',
500: '#ecf072',
950: '#000000',
},
}SCSS
$custom: #ecf072; $custom-light: #f4f49e; $custom-dark: #000000;
JSON
{
"hex": "#ecf072",
"rgb": {
"r": 236,
"g": 240,
"b": 114
},
"hsl": {
"h": 61.905,
"s": 80.769,
"l": 69.412
},
"oklch": {
"l": 0.92739,
"c": 0.14884,
"h": 110.6
},
"luminance": 0.81368
}Semantic roles & 50–950 ramp
primary
#ECF072
secondary
#413DC9
accent
#08DD0F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580