#ECF472#ECF472
#ECF472 is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.6% C 0.153 H 112.2°. Best body text is #000000 at 17.75:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF472 |
|---|---|
| RGB | rgb(236, 244, 114) |
| HSL | hsl(64, 86%, 70%) |
| HSV | hsv(64, 53%, 96%) |
| CMYK | cmyk(3.3%, 0%, 53.3%, 4.3%) |
| CIE-LAB | lab(93.34, -19.81, 60.74) |
| CIE-LCH | lch(93.34, 63.89, 108.06°) |
| OKLab | oklab(93.57% -0.0579 0.1419) |
| OKLCH | oklch(93.57% 0.153 112.2) |
| XYZ | xyz(69.9815, 83.7505, 28.3953) |
| Luminance | 0.8375 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.73
Faded Yellow
#FEFF7F
ΔE00 2.97
Banana (survey)
#FFFF7E
ΔE00 3.12
Butter
#FFFF81
ΔE00 3.14
Light Yellow
#FFFE7A
ΔE00 3.16
Pale Yellow
#FFFF84
ΔE00 3.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF472 #7A72F4
analogous
#F4BB72 #ECF472 #ABF472
triadic
#ECF472 #72ECF4 #F472EC
tetradic
#ECF472 #72F4BB #7A72F4 #F472AB
square
#ECF472 #72F4BB #7A72F4 #F472AB
split-complementary
#ECF472 #72ABF4 #BB72F4
monochromatic
#CEDB11 #E4F039 #ECF472 #F4F8AB #FBFDE3
Accessibility & contrast
On white
1.18
#ECF472 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.75
#ECF472 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF472
17.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF472 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF472 | 1.00 | 1.18 | 17.75 | 17.75 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA65
Deuteranopia (green-blind)
#FFEE79
Tritanopia (blue-blind)
#FAE7D7
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #ecf472; /* rgb */ color: rgb(236, 244, 114); /* oklch */ color: oklch(93.6% 0.153 112.2);
Tailwind
colors: {
custom: {
50: '#f4f79e',
500: '#ecf472',
950: '#000000',
},
}SCSS
$custom: #ecf472; $custom-light: #f4f79e; $custom-dark: #000000;
JSON
{
"hex": "#ecf472",
"rgb": {
"r": 236,
"g": 244,
"b": 114
},
"hsl": {
"h": 63.692,
"s": 85.526,
"l": 70.196
},
"oklch": {
"l": 0.93574,
"c": 0.15327,
"h": 112.2
},
"luminance": 0.83749
}Semantic roles & 50–950 ramp
primary
#ECF472
secondary
#453CCE
accent
#03E211
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580