#ECF16C#ECF16C
#ECF16C is a very light, vivid yellow. Relative luminance 0.818; OKLCH L 92.9% C 0.155 H 111.0°. Best body text is #000000 at 17.37:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF16C |
|---|---|
| RGB | rgb(236, 241, 108) |
| HSL | hsl(62, 83%, 68%) |
| HSV | hsv(62, 55%, 95%) |
| CMYK | cmyk(2.1%, 0%, 55.2%, 5.5%) |
| CIE-LAB | lab(92.50, -18.82, 62.42) |
| CIE-LCH | lch(92.50, 65.20, 106.78°) |
| OKLab | oklab(92.88% -0.0557 0.1449) |
| OKLCH | oklch(92.88% 0.155 111) |
| XYZ | xyz(68.7558, 81.8277, 26.3569) |
| Luminance | 0.8183 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 2.96
Straw
#FCF679
ΔE00 2.99
Custard
#FFFD78
ΔE00 3.17
Light Yellow
#FFFE7A
ΔE00 3.21
Butter Yellow
#FFFD74
ΔE00 3.21
Faded Yellow
#FEFF7F
ΔE00 3.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF16C #716CF1
analogous
#F1B36C #ECF16C #A9F16C
triadic
#ECF16C #6CECF1 #F16CEC
tetradic
#ECF16C #6CF1B3 #716CF1 #F16CA9
square
#ECF16C #6CF1B3 #716CF1 #F16CA9
split-complementary
#ECF16C #6CA9F1 #B36CF1
monochromatic
#C8CF14 #E5EC34 #ECF16C #F3F6A4 #FAFCDC
Accessibility & contrast
On white
1.21
#ECF16C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.37
#ECF16C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF16C
17.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF16C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF16C | 1.00 | 1.21 | 17.37 | 17.37 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE75E
Deuteranopia (green-blind)
#FFEB74
Tritanopia (blue-blind)
#FAE4D4
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #ecf16c; /* rgb */ color: rgb(236, 241, 108); /* oklch */ color: oklch(92.9% 0.155 111.0);
Tailwind
colors: {
custom: {
50: '#f5f59a',
500: '#ecf16c',
950: '#000000',
},
}SCSS
$custom: #ecf16c; $custom-light: #f5f59a; $custom-dark: #000000;
JSON
{
"hex": "#ecf16c",
"rgb": {
"r": 236,
"g": 241,
"b": 108
},
"hsl": {
"h": 62.256,
"s": 82.609,
"l": 68.431
},
"oklch": {
"l": 0.92882,
"c": 0.15522,
"h": 111
},
"luminance": 0.81826
}Semantic roles & 50–950 ramp
primary
#ECF16C
secondary
#3D38CA
accent
#06DF0F
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F