#ECF761#ECF761
#ECF761 is a very light, vivid yellow. Relative luminance 0.852; OKLCH L 94.0% C 0.171 H 113.2°. Best body text is #000000 at 18.04:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF761 |
|---|---|
| RGB | rgb(236, 247, 97) |
| HSL | hsl(64, 90%, 67%) |
| HSV | hsv(64, 61%, 97%) |
| CMYK | cmyk(4.5%, 0%, 60.7%, 3.1%) |
| CIE-LAB | lab(93.98, -22.48, 68.69) |
| CIE-LCH | lch(93.98, 72.27, 108.12°) |
| OKLab | oklab(94.03% -0.0672 0.1569) |
| OKLCH | oklch(94.03% 0.171 113.2) |
| XYZ | xyz(70.0123, 85.2188, 24.0677) |
| Luminance | 0.8522 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 2.89
Pastel Yellow
#FFFE71
ΔE00 3.22
Butter Yellow
#FFFD74
ΔE00 3.39
Light Yellow
#FFFE7A
ΔE00 3.52
Custard
#FFFD78
ΔE00 3.53
Banana Yellow
#FAFE4B
ΔE00 3.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF761 #6C61F7
analogous
#F7B761 #ECF761 #A1F761
triadic
#ECF761 #61ECF7 #F761EC
tetradic
#ECF761 #61F7B7 #6C61F7 #F761A1
square
#ECF761 #61F7B7 #6C61F7 #F761A1
split-complementary
#ECF761 #61A1F7 #B761F7
monochromatic
#C4D30B #E5F427 #ECF761 #F3FA9B #FAFDD6
Accessibility & contrast
On white
1.16
#ECF761 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.04
#ECF761 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF761
18.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF761 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF761 | 1.00 | 1.16 | 18.04 | 18.04 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC4F
Deuteranopia (green-blind)
#FFEF6B
Tritanopia (blue-blind)
#FBE9D8
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #ecf761; /* rgb */ color: rgb(236, 247, 97); /* oklch */ color: oklch(94.0% 0.171 113.2);
Tailwind
colors: {
custom: {
50: '#f5f994',
500: '#ecf761',
950: '#000000',
},
}SCSS
$custom: #ecf761; $custom-light: #f5f994; $custom-dark: #000000;
JSON
{
"hex": "#ecf761",
"rgb": {
"r": 236,
"g": 247,
"b": 97
},
"hsl": {
"h": 64.4,
"s": 90.361,
"l": 67.451
},
"oklch": {
"l": 0.94032,
"c": 0.17065,
"h": 113.2
},
"luminance": 0.85217
}Semantic roles & 50–950 ramp
primary
#ECF761
secondary
#3A2ECE
accent
#00E611
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F