#ECF15C#ECF15C
#ECF15C is a very light, vivid yellow. Relative luminance 0.815; OKLCH L 92.7% C 0.168 H 111.1°. Best body text is #000000 at 17.30:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF15C |
|---|---|
| RGB | rgb(236, 241, 92) |
| HSL | hsl(62, 84%, 65%) |
| HSV | hsv(62, 62%, 95%) |
| CMYK | cmyk(2.1%, 0%, 61.8%, 5.5%) |
| CIE-LAB | lab(92.36, -19.93, 68.98) |
| CIE-LCH | lch(92.36, 71.80, 106.11°) |
| OKLab | oklab(92.73% -0.0605 0.1568) |
| OKLCH | oklch(92.73% 0.168 111.1) |
| XYZ | xyz(67.9811, 81.5178, 22.2766) |
| Luminance | 0.8152 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Off Yellow
#F1F33F
ΔE00 2.80
Canary
#FDFF63
ΔE00 3.12
Pastel Yellow
#FFFE71
ΔE00 3.27
Butter Yellow
#FFFD74
ΔE00 3.33
Custard
#FFFD78
ΔE00 3.51
Light Yellow
#FFFE7A
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF15C #615CF1
analogous
#F1AB5C #ECF15C #A2F15C
triadic
#ECF15C #5CECF1 #F15CEC
tetradic
#ECF15C #5CF1AB #615CF1 #F15CA2
square
#ECF15C #5CF1AB #615CF1 #F15CA2
split-complementary
#ECF15C #5CA2F1 #AB5CF1
monochromatic
#BCC211 #E5EC24 #ECF15C #F3F694 #F9FBCD
Accessibility & contrast
On white
1.21
#ECF15C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.30
#ECF15C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF15C
17.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF15C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF15C | 1.00 | 1.21 | 17.30 | 17.30 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE749
Deuteranopia (green-blind)
#FFEB66
Tritanopia (blue-blind)
#FBE3D2
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #ecf15c; /* rgb */ color: rgb(236, 241, 92); /* oklch */ color: oklch(92.7% 0.168 111.1);
Tailwind
colors: {
custom: {
50: '#f5f591',
500: '#ecf15c',
950: '#000000',
},
}SCSS
$custom: #ecf15c; $custom-light: #f5f591; $custom-dark: #000000;
JSON
{
"hex": "#ecf15c",
"rgb": {
"r": 236,
"g": 241,
"b": 92
},
"hsl": {
"h": 62.013,
"s": 84.181,
"l": 65.294
},
"oklch": {
"l": 0.92728,
"c": 0.16807,
"h": 111.1
},
"luminance": 0.81516
}Semantic roles & 50–950 ramp
primary
#ECF15C
secondary
#3632C0
accent
#05E10C
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F