#ECF56C#ECF56C
#ECF56C is a very light, vivid yellow. Relative luminance 0.842; OKLCH L 93.7% C 0.160 H 112.5°. Best body text is #000000 at 17.84:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF56C |
|---|---|
| RGB | rgb(236, 245, 108) |
| HSL | hsl(64, 87%, 69%) |
| HSV | hsv(64, 56%, 96%) |
| CMYK | cmyk(3.7%, 0%, 55.9%, 3.9%) |
| CIE-LAB | lab(93.55, -20.75, 63.60) |
| CIE-LCH | lch(93.55, 66.90, 108.07°) |
| OKLab | oklab(93.72% -0.0612 0.1474) |
| OKLCH | oklch(93.72% 0.16 112.5) |
| XYZ | xyz(69.9529, 84.2218, 26.7559) |
| Luminance | 0.8422 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 3.00
Faded Yellow
#FEFF7F
ΔE00 3.05
Light Yellow
#FFFE7A
ΔE00 3.15
Banana (survey)
#FFFF7E
ΔE00 3.18
Custard
#FFFD78
ΔE00 3.19
Butter Yellow
#FFFD74
ΔE00 3.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF56C #756CF5
analogous
#F5BA6C #ECF56C #A8F56C
triadic
#ECF56C #6CECF5 #F56CEC
tetradic
#ECF56C #6CF5BA #756CF5 #F56CA8
square
#ECF56C #6CF5BA #756CF5 #F56CA8
split-complementary
#ECF56C #6CA8F5 #BA6CF5
monochromatic
#CBD80F #E5F133 #ECF56C #F3F9A5 #FBFDDF
Accessibility & contrast
On white
1.18
#ECF56C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.84
#ECF56C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF56C
17.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF56C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF56C | 1.00 | 1.18 | 17.84 | 17.84 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB5D
Deuteranopia (green-blind)
#FFEE74
Tritanopia (blue-blind)
#FAE8D7
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #ecf56c; /* rgb */ color: rgb(236, 245, 108); /* oklch */ color: oklch(93.7% 0.160 112.5);
Tailwind
colors: {
custom: {
50: '#f5f89a',
500: '#ecf56c',
950: '#000000',
},
}SCSS
$custom: #ecf56c; $custom-light: #f5f89a; $custom-dark: #000000;
JSON
{
"hex": "#ecf56c",
"rgb": {
"r": 236,
"g": 245,
"b": 108
},
"hsl": {
"h": 63.942,
"s": 87.261,
"l": 69.216
},
"oklch": {
"l": 0.93719,
"c": 0.15959,
"h": 112.5
},
"luminance": 0.8422
}Semantic roles & 50–950 ramp
primary
#ECF56C
secondary
#4137CF
accent
#02E411
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F