#EAF162#EAF162
#EAF162 is a very light, vivid yellow. Relative luminance 0.813; OKLCH L 92.6% C 0.164 H 111.8°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).
Color values
| HEX | #EAF162 |
|---|---|
| RGB | rgb(234, 241, 98) |
| HSL | hsl(63, 84%, 66%) |
| HSV | hsv(63, 59%, 95%) |
| CMYK | cmyk(2.9%, 0%, 59.3%, 5.5%) |
| CIE-LAB | lab(92.26, -20.34, 66.38) |
| CIE-LCH | lch(92.26, 69.42, 107.03°) |
| OKLab | oklab(92.62% -0.0609 0.1521) |
| OKLCH | oklch(92.62% 0.164 111.8) |
| XYZ | xyz(67.5934, 81.2863, 23.6821) |
| Luminance | 0.8128 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pastel Yellow
#FFFE71
ΔE00 3.46
Butter Yellow
#FFFD74
ΔE00 3.48
Canary
#FDFF63
ΔE00 3.51
Custard
#FFFD78
ΔE00 3.56
Off Yellow
#F1F33F
ΔE00 3.60
Light Yellow
#FFFE7A
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EAF162 #6962F1
analogous
#F1B162 #EAF162 #A3F162
triadic
#EAF162 #62EAF1 #F162EA
tetradic
#EAF162 #62F1B1 #6962F1 #F162A3
square
#EAF162 #62F1B1 #6962F1 #F162A3
split-complementary
#EAF162 #62A3F1 #B162F1
monochromatic
#BEC712 #E2EC2A #EAF162 #F2F69A #F9FBD2
Accessibility & contrast
On white
1.22
#EAF162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.26
#EAF162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EAF162
17.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EAF162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EAF162 | 1.00 | 1.22 | 17.26 | 17.26 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE751
Deuteranopia (green-blind)
#FFEB6B
Tritanopia (blue-blind)
#F9E4D3
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #eaf162; /* rgb */ color: rgb(234, 241, 98); /* oklch */ color: oklch(92.6% 0.164 111.8);
Tailwind
colors: {
custom: {
50: '#f4f594',
500: '#eaf162',
950: '#000000',
},
}SCSS
$custom: #eaf162; $custom-light: #f4f594; $custom-dark: #000000;
JSON
{
"hex": "#eaf162",
"rgb": {
"r": 234,
"g": 241,
"b": 98
},
"hsl": {
"h": 62.937,
"s": 83.626,
"l": 66.471
},
"oklch": {
"l": 0.92624,
"c": 0.16388,
"h": 111.8
},
"luminance": 0.81285
}Semantic roles & 50–950 ramp
primary
#EAF162
secondary
#3A33C4
accent
#05E010
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F