#ECF15E#ECF15E
#ECF15E is a very light, vivid yellow. Relative luminance 0.816; OKLCH L 92.7% C 0.167 H 111.1°. Best body text is #000000 at 17.31:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF15E |
|---|---|
| RGB | rgb(236, 241, 94) |
| HSL | hsl(62, 84%, 66%) |
| HSV | hsv(62, 61%, 95%) |
| CMYK | cmyk(2.1%, 0%, 61%, 5.5%) |
| CIE-LAB | lab(92.38, -19.80, 68.19) |
| CIE-LCH | lch(92.38, 71.01, 106.19°) |
| OKLab | oklab(92.75% -0.0599 0.1554) |
| OKLCH | oklch(92.75% 0.167 111.1) |
| XYZ | xyz(68.0697, 81.5532, 22.7431) |
| Luminance | 0.8155 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Off Yellow
#F1F33F
ΔE00 2.99
Canary
#FDFF63
ΔE00 3.17
Pastel Yellow
#FFFE71
ΔE00 3.23
Butter Yellow
#FFFD74
ΔE00 3.28
Custard
#FFFD78
ΔE00 3.43
Straw
#FCF679
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF15E #635EF1
analogous
#F1AC5E #ECF15E #A2F15E
triadic
#ECF15E #5EECF1 #F15EEC
tetradic
#ECF15E #5EF1AC #635EF1 #F15EA2
square
#ECF15E #5EF1AC #635EF1 #F15EA2
split-complementary
#ECF15E #5EA2F1 #AC5EF1
monochromatic
#BEC411 #E5EC26 #ECF15E #F3F696 #F9FBCF
Accessibility & contrast
On white
1.21
#ECF15E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.31
#ECF15E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF15E
17.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF15E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF15E | 1.00 | 1.21 | 17.31 | 17.31 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE74C
Deuteranopia (green-blind)
#FFEB67
Tritanopia (blue-blind)
#FBE3D2
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #ecf15e; /* rgb */ color: rgb(236, 241, 94); /* oklch */ color: oklch(92.7% 0.167 111.1);
Tailwind
colors: {
custom: {
50: '#f5f592',
500: '#ecf15e',
950: '#000000',
},
}SCSS
$custom: #ecf15e; $custom-light: #f5f592; $custom-dark: #000000;
JSON
{
"hex": "#ecf15e",
"rgb": {
"r": 236,
"g": 241,
"b": 94
},
"hsl": {
"h": 62.041,
"s": 84,
"l": 65.686
},
"oklch": {
"l": 0.92746,
"c": 0.16656,
"h": 111.1
},
"luminance": 0.81552
}Semantic roles & 50–950 ramp
primary
#ECF15E
secondary
#3732C1
accent
#05E00D
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F