#ECF16A#ECF16A
#ECF16A is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 92.9% C 0.157 H 111.1°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF16A |
|---|---|
| RGB | rgb(236, 241, 106) |
| HSL | hsl(62, 83%, 68%) |
| HSV | hsv(62, 56%, 95%) |
| CMYK | cmyk(2.1%, 0%, 56%, 5.5%) |
| CIE-LAB | lab(92.48, -18.97, 63.27) |
| CIE-LCH | lch(92.48, 66.05, 106.69°) |
| OKLab | oklab(92.86% -0.0564 0.1465) |
| OKLCH | oklch(92.86% 0.157 111.1) |
| XYZ | xyz(68.6506, 81.7856, 25.8027) |
| Luminance | 0.8178 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 3.04
Yellowish Tan
#FCFC81
ΔE00 3.05
Custard
#FFFD78
ΔE00 3.17
Butter Yellow
#FFFD74
ΔE00 3.18
Light Yellow
#FFFE7A
ΔE00 3.22
Pastel Yellow
#FFFE71
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF16A #6F6AF1
analogous
#F1B26A #ECF16A #A8F16A
triadic
#ECF16A #6AECF1 #F16AEC
tetradic
#ECF16A #6AF1B2 #6F6AF1 #F16AA8
square
#ECF16A #6AF1B2 #6F6AF1 #F16AA8
split-complementary
#ECF16A #6AA8F1 #B26AF1
monochromatic
#C6CD13 #E5EC32 #ECF16A #F3F6A2 #FAFCDA
Accessibility & contrast
On white
1.21
#ECF16A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.36
#ECF16A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF16A
17.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF16A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF16A | 1.00 | 1.21 | 17.36 | 17.36 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE75C
Deuteranopia (green-blind)
#FFEB72
Tritanopia (blue-blind)
#FAE4D4
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #ecf16a; /* rgb */ color: rgb(236, 241, 106); /* oklch */ color: oklch(92.9% 0.157 111.1);
Tailwind
colors: {
custom: {
50: '#f5f599',
500: '#ecf16a',
950: '#000000',
},
}SCSS
$custom: #ecf16a; $custom-light: #f5f599; $custom-dark: #000000;
JSON
{
"hex": "#ecf16a",
"rgb": {
"r": 236,
"g": 241,
"b": 106
},
"hsl": {
"h": 62.222,
"s": 82.822,
"l": 68.039
},
"oklch": {
"l": 0.92861,
"c": 0.15693,
"h": 111.1
},
"luminance": 0.81784
}Semantic roles & 50–950 ramp
primary
#ECF16A
secondary
#3B36C9
accent
#06DF0E
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F