#ECF260#ECF260
#ECF260 is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 93.0% C 0.166 H 111.4°. Best body text is #000000 at 17.44:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF260 |
|---|---|
| RGB | rgb(236, 242, 96) |
| HSL | hsl(62, 85%, 66%) |
| HSV | hsv(62, 60%, 95%) |
| CMYK | cmyk(2.5%, 0%, 60.3%, 5.1%) |
| CIE-LAB | lab(92.66, -20.15, 67.67) |
| CIE-LCH | lch(92.66, 70.61, 106.58°) |
| OKLab | oklab(92.97% -0.0607 0.1546) |
| OKLCH | oklch(92.97% 0.166 111.4) |
| XYZ | xyz(68.4574, 82.1832, 23.3208) |
| Luminance | 0.8218 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 3.11
Pastel Yellow
#FFFE71
ΔE00 3.16
Off Yellow
#F1F33F
ΔE00 3.18
Butter Yellow
#FFFD74
ΔE00 3.21
Custard
#FFFD78
ΔE00 3.35
Light Yellow
#FFFE7A
ΔE00 3.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF260 #6660F2
analogous
#F2AF60 #ECF260 #A3F260
triadic
#ECF260 #60ECF2 #F260EC
tetradic
#ECF260 #60F2AF #6660F2 #F260A3
square
#ECF260 #60F2AF #6660F2 #F260A3
split-complementary
#ECF260 #60A3F2 #AF60F2
monochromatic
#C0C710 #E5ED27 #ECF260 #F3F799 #FAFBD1
Accessibility & contrast
On white
1.20
#ECF260 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.44
#ECF260 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF260
17.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF260 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF260 | 1.00 | 1.20 | 17.44 | 17.44 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE84E
Deuteranopia (green-blind)
#FFEC69
Tritanopia (blue-blind)
#FBE4D3
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #ecf260; /* rgb */ color: rgb(236, 242, 96); /* oklch */ color: oklch(93.0% 0.166 111.4);
Tailwind
colors: {
custom: {
50: '#f5f693',
500: '#ecf260',
950: '#000000',
},
}SCSS
$custom: #ecf260; $custom-light: #f5f693; $custom-dark: #000000;
JSON
{
"hex": "#ecf260",
"rgb": {
"r": 236,
"g": 242,
"b": 96
},
"hsl": {
"h": 62.466,
"s": 84.884,
"l": 66.275
},
"oklch": {
"l": 0.92973,
"c": 0.16609,
"h": 111.4
},
"luminance": 0.82182
}Semantic roles & 50–950 ramp
primary
#ECF260
secondary
#3832C4
accent
#04E10D
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170D
muted
#85857F