#ECF56B#ECF56B
#ECF56B 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 | #ECF56B |
|---|---|
| RGB | rgb(236, 245, 107) |
| HSL | hsl(64, 87%, 69%) |
| HSV | hsv(64, 56%, 96%) |
| CMYK | cmyk(3.7%, 0%, 56.3%, 3.9%) |
| CIE-LAB | lab(93.54, -20.83, 64.02) |
| CIE-LCH | lch(93.54, 67.33, 108.02°) |
| OKLab | oklab(93.71% -0.0615 0.1482) |
| OKLCH | oklch(93.71% 0.16 112.5) |
| XYZ | xyz(69.9000, 84.2006, 26.4772) |
| Luminance | 0.8420 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 3.05
Faded Yellow
#FEFF7F
ΔE00 3.08
Light Yellow
#FFFE7A
ΔE00 3.15
Pastel Yellow
#FFFE71
ΔE00 3.19
Butter Yellow
#FFFD74
ΔE00 3.19
Custard
#FFFD78
ΔE00 3.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF56B #746BF5
analogous
#F5B96B #ECF56B #A7F56B
triadic
#ECF56B #6BECF5 #F56BEC
tetradic
#ECF56B #6BF5B9 #746BF5 #F56BA7
square
#ECF56B #6BF5B9 #746BF5 #F56BA7
split-complementary
#ECF56B #6BA7F5 #B96BF5
monochromatic
#CAD70F #E5F132 #ECF56B #F3F9A4 #FBFDDE
Accessibility & contrast
On white
1.18
#ECF56B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.84
#ECF56B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF56B
17.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF56B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF56B | 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)
#FFEB5C
Deuteranopia (green-blind)
#FFEE73
Tritanopia (blue-blind)
#FAE8D7
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #ecf56b; /* rgb */ color: rgb(236, 245, 107); /* oklch */ color: oklch(93.7% 0.160 112.5);
Tailwind
colors: {
custom: {
50: '#f5f89a',
500: '#ecf56b',
950: '#000000',
},
}SCSS
$custom: #ecf56b; $custom-light: #f5f89a; $custom-dark: #000000;
JSON
{
"hex": "#ecf56b",
"rgb": {
"r": 236,
"g": 245,
"b": 107
},
"hsl": {
"h": 63.913,
"s": 87.342,
"l": 69.02
},
"oklch": {
"l": 0.93708,
"c": 0.16044,
"h": 112.5
},
"luminance": 0.84199
}Semantic roles & 50–950 ramp
primary
#ECF56B
secondary
#4036CE
accent
#02E410
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F