#ECF060#ECF060
#ECF060 is a very light, vivid yellow. Relative luminance 0.810; OKLCH L 92.6% C 0.164 H 110.7°. Best body text is #000000 at 17.20:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF060 |
|---|---|
| RGB | rgb(236, 240, 96) |
| HSL | hsl(62, 83%, 66%) |
| HSV | hsv(62, 60%, 94%) |
| CMYK | cmyk(1.7%, 0%, 60%, 5.9%) |
| CIE-LAB | lab(92.13, -19.19, 67.11) |
| CIE-LCH | lch(92.13, 69.80, 105.96°) |
| OKLab | oklab(92.55% -0.058 0.1534) |
| OKLCH | oklch(92.55% 0.164 110.7) |
| XYZ | xyz(67.8654, 80.9992, 23.1235) |
| Luminance | 0.8100 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Off Yellow
#F1F33F
ΔE00 3.20
Butter Yellow
#FFFD74
ΔE00 3.28
Pastel Yellow
#FFFE71
ΔE00 3.28
Straw
#FCF679
ΔE00 3.34
Canary
#FDFF63
ΔE00 3.36
Custard
#FFFD78
ΔE00 3.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF060 #6460F0
analogous
#F0AC60 #ECF060 #A4F060
triadic
#ECF060 #60ECF0 #F060EC
tetradic
#ECF060 #60F0AC #6460F0 #F060A4
square
#ECF060 #60F0AC #6460F0 #F060A4
split-complementary
#ECF060 #60A4F0 #AC60F0
monochromatic
#BEC312 #E5EB28 #ECF060 #F3F598 #F9FBD0
Accessibility & contrast
On white
1.22
#ECF060 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.20
#ECF060 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF060
17.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF060 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF060 | 1.00 | 1.22 | 17.20 | 17.20 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE64F
Deuteranopia (green-blind)
#FFEA69
Tritanopia (blue-blind)
#FBE2D2
Achromatopsia (no color)
#E8E8E8
Design tokens & code
CSS
--color: #ecf060; /* rgb */ color: rgb(236, 240, 96); /* oklch */ color: oklch(92.6% 0.164 110.7);
Tailwind
colors: {
custom: {
50: '#f5f493',
500: '#ecf060',
950: '#000000',
},
}SCSS
$custom: #ecf060; $custom-light: #f5f493; $custom-dark: #000000;
JSON
{
"hex": "#ecf060",
"rgb": {
"r": 236,
"g": 240,
"b": 96
},
"hsl": {
"h": 61.667,
"s": 82.759,
"l": 65.882
},
"oklch": {
"l": 0.92554,
"c": 0.16399,
"h": 110.7
},
"luminance": 0.80998
}Semantic roles & 50–950 ramp
primary
#ECF060
secondary
#3733C1
accent
#06DF0C
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F