#ECF556#ECF556
#ECF556 is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.5% C 0.177 H 112.5°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF556 |
|---|---|
| RGB | rgb(236, 245, 86) |
| HSL | hsl(63, 89%, 65%) |
| HSV | hsv(63, 65%, 96%) |
| CMYK | cmyk(3.7%, 0%, 64.9%, 3.9%) |
| CIE-LAB | lab(93.37, -22.20, 72.38) |
| CIE-LCH | lch(93.37, 75.71, 107.05°) |
| OKLab | oklab(93.52% -0.0675 0.1631) |
| OKLCH | oklch(93.52% 0.177 112.5) |
| XYZ | xyz(68.9262, 83.8111, 21.3486) |
| Luminance | 0.8381 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Off Yellow
#F1F33F
ΔE00 2.51
Canary
#FDFF63
ΔE00 2.73
Banana Yellow
#FAFE4B
ΔE00 2.91
Lemon (survey)
#FDFF52
ΔE00 3.08
Pastel Yellow
#FFFE71
ΔE00 3.38
Butter Yellow
#FFFD74
ΔE00 3.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF556 #5F56F5
analogous
#F5AE56 #ECF556 #9DF556
triadic
#ECF556 #56ECF5 #F556EC
tetradic
#ECF556 #56F5AE #5F56F5 #F5569D
square
#ECF556 #56F5AE #5F56F5 #F5569D
split-complementary
#ECF556 #569DF5 #AE56F5
monochromatic
#BAC50C #E6F21C #ECF556 #F2F890 #F9FCCA
Accessibility & contrast
On white
1.18
#ECF556 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.76
#ECF556 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF556
17.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF556 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF556 | 1.00 | 1.18 | 17.76 | 17.76 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA40
Deuteranopia (green-blind)
#FFEE61
Tritanopia (blue-blind)
#FBE7D5
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #ecf556; /* rgb */ color: rgb(236, 245, 86); /* oklch */ color: oklch(93.5% 0.177 112.5);
Tailwind
colors: {
custom: {
50: '#f5f88d',
500: '#ecf556',
950: '#000000',
},
}SCSS
$custom: #ecf556; $custom-light: #f5f88d; $custom-dark: #000000;
JSON
{
"hex": "#ecf556",
"rgb": {
"r": 236,
"g": 245,
"b": 86
},
"hsl": {
"h": 63.396,
"s": 88.827,
"l": 64.902
},
"oklch": {
"l": 0.93519,
"c": 0.17651,
"h": 112.5
},
"luminance": 0.8381
}Semantic roles & 50–950 ramp
primary
#ECF556
secondary
#362DC2
accent
#00E50D
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#18170D
muted
#86857F