#EAF562#EAF562
#EAF562 is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.5% C 0.168 H 113.2°. Best body text is #000000 at 17.74:1 contrast (WCAG AA passes).
Color values
| HEX | #EAF562 |
|---|---|
| RGB | rgb(234, 245, 98) |
| HSL | hsl(64, 88%, 67%) |
| HSV | hsv(64, 60%, 96%) |
| CMYK | cmyk(4.5%, 0%, 60%, 3.9%) |
| CIE-LAB | lab(93.31, -22.25, 67.52) |
| CIE-LCH | lch(93.31, 71.09, 108.24°) |
| OKLab | oklab(93.47% -0.0663 0.1546) |
| OKLCH | oklch(93.47% 0.168 113.2) |
| XYZ | xyz(68.7904, 83.6804, 24.0811) |
| Luminance | 0.8368 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 3.28
Pastel Yellow
#FFFE71
ΔE00 3.46
Butter Yellow
#FFFD74
ΔE00 3.58
Light Yellow
#FFFE7A
ΔE00 3.67
Custard
#FFFD78
ΔE00 3.69
Faded Yellow
#FEFF7F
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EAF562 #6D62F5
analogous
#F5B762 #EAF562 #A0F562
triadic
#EAF562 #62EAF5 #F562EA
tetradic
#EAF562 #62F5B7 #6D62F5 #F562A0
square
#EAF562 #62F5B7 #6D62F5 #F562A0
split-complementary
#EAF562 #62A0F5 #B762F5
monochromatic
#C1CF0D #E2F128 #EAF562 #F2F99C #F9FCD5
Accessibility & contrast
On white
1.18
#EAF562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.74
#EAF562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EAF562
17.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EAF562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EAF562 | 1.00 | 1.18 | 17.74 | 17.74 |
| #FFFFFF | 1.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEA51
Deuteranopia (green-blind)
#FFED6B
Tritanopia (blue-blind)
#F8E8D6
Achromatopsia (no color)
#ECECEC
Design tokens & code
CSS
--color: #eaf562; /* rgb */ color: rgb(234, 245, 98); /* oklch */ color: oklch(93.5% 0.168 113.2);
Tailwind
colors: {
custom: {
50: '#f4f894',
500: '#eaf562',
950: '#000000',
},
}SCSS
$custom: #eaf562; $custom-light: #f4f894; $custom-dark: #000000;
JSON
{
"hex": "#eaf562",
"rgb": {
"r": 234,
"g": 245,
"b": 98
},
"hsl": {
"h": 64.49,
"s": 88.024,
"l": 67.255
},
"oklch": {
"l": 0.93466,
"c": 0.16819,
"h": 113.2
},
"luminance": 0.83679
}Semantic roles & 50–950 ramp
primary
#EAF562
secondary
#3C30CB
accent
#01E512
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F