#ECF362#ECF362
#ECF362 is a very light, vivid yellow. Relative luminance 0.828; OKLCH L 93.2% C 0.166 H 111.8°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).
Color values
| HEX | #ECF362 |
|---|---|
| RGB | rgb(236, 243, 98) |
| HSL | hsl(63, 86%, 67%) |
| HSV | hsv(63, 60%, 95%) |
| CMYK | cmyk(2.9%, 0%, 59.7%, 4.7%) |
| CIE-LAB | lab(92.93, -20.50, 67.15) |
| CIE-LCH | lch(92.93, 70.21, 106.98°) |
| OKLab | oklab(93.2% -0.0615 0.1538) |
| OKLCH | oklch(93.2% 0.166 111.8) |
| XYZ | xyz(68.8491, 82.8174, 23.9114) |
| Luminance | 0.8282 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 3.08
Pastel Yellow
#FFFE71
ΔE00 3.11
Butter Yellow
#FFFD74
ΔE00 3.17
Custard
#FFFD78
ΔE00 3.29
Light Yellow
#FFFE7A
ΔE00 3.34
Off Yellow
#F1F33F
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#ECF362 #6962F3
analogous
#F3B262 #ECF362 #A3F362
triadic
#ECF362 #62ECF3 #F362EC
tetradic
#ECF362 #62F3B2 #6962F3 #F362A3
square
#ECF362 #62F3B2 #6962F3 #F362A3
split-complementary
#ECF362 #62A3F3 #B262F3
monochromatic
#C2CB10 #E5EF29 #ECF362 #F3F79B #FAFCD4
Accessibility & contrast
On white
1.20
#ECF362 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.56
#ECF362 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #ECF362
17.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##ECF362 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##ECF362 | 1.00 | 1.20 | 17.56 | 17.56 |
| #FFFFFF | 1.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE951
Deuteranopia (green-blind)
#FFED6B
Tritanopia (blue-blind)
#FBE5D4
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #ecf362; /* rgb */ color: rgb(236, 243, 98); /* oklch */ color: oklch(93.2% 0.166 111.8);
Tailwind
colors: {
custom: {
50: '#f5f694',
500: '#ecf362',
950: '#000000',
},
}SCSS
$custom: #ecf362; $custom-light: #f5f694; $custom-dark: #000000;
JSON
{
"hex": "#ecf362",
"rgb": {
"r": 236,
"g": 243,
"b": 98
},
"hsl": {
"h": 62.897,
"s": 85.799,
"l": 66.863
},
"oklch": {
"l": 0.93201,
"c": 0.16559,
"h": 111.8
},
"luminance": 0.82816
}Semantic roles & 50–950 ramp
primary
#ECF362
secondary
#3932C7
accent
#03E20E
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F