#ECF862#ECF862
#ECF862 is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.3% C 0.171 H 113.5°. Best body text is #000000 at 18.17:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF862 |
|---|---|
| RGB | rgb(236, 248, 98) |
| HSL | hsl(65, 91%, 68%) |
| HSV | hsv(65, 60%, 97%) |
| CMYK | cmyk(4.8%, 0%, 60.5%, 2.7%) |
| CIE-LAB | lab(94.25, -22.89, 68.57) |
| CIE-LCH | lch(94.25, 72.29, 108.46°) |
| OKLab | oklab(94.25% -0.0682 0.1568) |
| OKLCH | oklch(94.25% 0.171 113.5) |
| XYZ | xyz(70.3658, 85.8508, 24.4170) |
| Luminance | 0.8585 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 2.94
Pastel Yellow
#FFFE71
ΔE00 3.28
Butter Yellow
#FFFD74
ΔE00 3.47
Light Yellow
#FFFE7A
ΔE00 3.56
Faded Yellow
#FEFF7F
ΔE00 3.58
Custard
#FFFD78
ΔE00 3.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF862 #6E62F8
analogous
#F8B962 #ECF862 #A1F862
triadic
#ECF862 #62ECF8 #F862EC
tetradic
#ECF862 #62F8B9 #6E62F8 #F862A1
square
#ECF862 #62F8B9 #6E62F8 #F862A1
split-complementary
#ECF862 #62A1F8 #B962F8
monochromatic
#C6D60A #E5F527 #ECF862 #F3FB9D #FAFDD7
Accessibility & contrast
On white
1.16
#ECF862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
18.17
#ECF862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF862
18.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF862 | 1.00 | 1.16 | 18.17 | 18.17 |
| #FFFFFF | 1.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 18.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 18.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFED50
Deuteranopia (green-blind)
#FFF06C
Tritanopia (blue-blind)
#FAEAD8
Achromatopsia (no color)
#EEEEEE
Design tokens & code
CSS
--color: #ecf862; /* rgb */ color: rgb(236, 248, 98); /* oklch */ color: oklch(94.3% 0.171 113.5);
Tailwind
colors: {
custom: {
50: '#f5fa95',
500: '#ecf862',
950: '#000000',
},
}SCSS
$custom: #ecf862; $custom-light: #f5fa95; $custom-dark: #000000;
JSON
{
"hex": "#ecf862",
"rgb": {
"r": 236,
"g": 248,
"b": 98
},
"hsl": {
"h": 64.8,
"s": 91.463,
"l": 67.843
},
"oklch": {
"l": 0.94252,
"c": 0.17096,
"h": 113.5
},
"luminance": 0.8585
}Semantic roles & 50–950 ramp
primary
#ECF862
secondary
#3B2ED0
accent
#00E612
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F