#ECF660#ECF660
#ECF660 is a very light, vivid yellow. Relative luminance 0.846; OKLCH L 93.8% C 0.170 H 112.8°. Best body text is #000000 at 17.92:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF660 |
|---|---|
| RGB | rgb(236, 246, 96) |
| HSL | hsl(64, 89%, 67%) |
| HSV | hsv(64, 61%, 96%) |
| CMYK | cmyk(4.1%, 0%, 61%, 3.5%) |
| CIE-LAB | lab(93.71, -22.07, 68.80) |
| CIE-LCH | lch(93.71, 72.26, 107.78°) |
| OKLab | oklab(93.81% -0.0661 0.157) |
| OKLCH | oklch(93.81% 0.17 112.8) |
| XYZ | xyz(69.6610, 84.5903, 23.7220) |
| Luminance | 0.8459 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 2.86
Pastel Yellow
#FFFE71
ΔE00 3.17
Butter Yellow
#FFFD74
ΔE00 3.33
Off Yellow
#F1F33F
ΔE00 3.41
Custard
#FFFD78
ΔE00 3.49
Light Yellow
#FFFE7A
ΔE00 3.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF660 #6A60F6
analogous
#F6B560 #ECF660 #A1F660
triadic
#ECF660 #60ECF6 #F660EC
tetradic
#ECF660 #60F6B5 #6A60F6 #F660A1
square
#ECF660 #60F6B5 #6A60F6 #F660A1
split-complementary
#ECF660 #60A1F6 #B560F6
monochromatic
#C3D00C #E5F326 #ECF660 #F3F99A #FAFDD4
Accessibility & contrast
On white
1.17
#ECF660 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.92
#ECF660 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF660
17.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF660 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF660 | 1.00 | 1.17 | 17.92 | 17.92 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEB4E
Deuteranopia (green-blind)
#FFEF6A
Tritanopia (blue-blind)
#FBE8D7
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #ecf660; /* rgb */ color: rgb(236, 246, 96); /* oklch */ color: oklch(93.8% 0.170 112.8);
Tailwind
colors: {
custom: {
50: '#f5f993',
500: '#ecf660',
950: '#000000',
},
}SCSS
$custom: #ecf660; $custom-light: #f5f993; $custom-dark: #000000;
JSON
{
"hex": "#ecf660",
"rgb": {
"r": 236,
"g": 246,
"b": 96
},
"hsl": {
"h": 64,
"s": 89.286,
"l": 67.059
},
"oklch": {
"l": 0.93813,
"c": 0.17034,
"h": 112.8
},
"luminance": 0.84589
}Semantic roles & 50–950 ramp
primary
#ECF660
secondary
#392FCB
accent
#00E60F
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F