#EAF462#EAF462
#EAF462 is a very light, vivid yellow. Relative luminance 0.831; OKLCH L 93.3% C 0.167 H 112.9°. Best body text is #000000 at 17.62:1 contrast (WCAG AA passes).
Color values
| HEX | #EAF462 |
|---|---|
| RGB | rgb(234, 244, 98) |
| HSL | hsl(64, 87%, 67%) |
| HSV | hsv(64, 60%, 96%) |
| CMYK | cmyk(4.1%, 0%, 59.8%, 4.3%) |
| CIE-LAB | lab(93.05, -21.77, 67.23) |
| CIE-LCH | lch(93.05, 70.67, 107.95°) |
| OKLab | oklab(93.26% -0.065 0.154) |
| OKLCH | oklch(93.26% 0.167 112.9) |
| XYZ | xyz(68.4887, 83.0770, 23.9805) |
| Luminance | 0.8308 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 3.31
Pastel Yellow
#FFFE71
ΔE00 3.43
Butter Yellow
#FFFD74
ΔE00 3.52
Custard
#FFFD78
ΔE00 3.63
Light Yellow
#FFFE7A
ΔE00 3.63
Faded Yellow
#FEFF7F
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EAF462 #6C62F4
analogous
#F4B562 #EAF462 #A1F462
triadic
#EAF462 #62EAF4 #F462EA
tetradic
#EAF462 #62F4B5 #6C62F4 #F462A1
square
#EAF462 #62F4B5 #6C62F4 #F462A1
split-complementary
#EAF462 #62A1F4 #B562F4
monochromatic
#C0CD0E #E2F029 #EAF462 #F2F89B #F9FCD4
Accessibility & contrast
On white
1.19
#EAF462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.62
#EAF462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EAF462
17.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EAF462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EAF462 | 1.00 | 1.19 | 17.62 | 17.62 |
| #FFFFFF | 1.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE951
Deuteranopia (green-blind)
#FFED6B
Tritanopia (blue-blind)
#F8E7D5
Achromatopsia (no color)
#EBEBEB
Design tokens & code
CSS
--color: #eaf462; /* rgb */ color: rgb(234, 244, 98); /* oklch */ color: oklch(93.3% 0.167 112.9);
Tailwind
colors: {
custom: {
50: '#f4f794',
500: '#eaf462',
950: '#000000',
},
}SCSS
$custom: #eaf462; $custom-light: #f4f794; $custom-dark: #000000;
JSON
{
"hex": "#eaf462",
"rgb": {
"r": 234,
"g": 244,
"b": 98
},
"hsl": {
"h": 64.11,
"s": 86.905,
"l": 67.059
},
"oklch": {
"l": 0.93255,
"c": 0.16711,
"h": 112.9
},
"luminance": 0.83076
}Semantic roles & 50–950 ramp
primary
#EAF462
secondary
#3B31C9
accent
#02E311
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F