#EAF062#EAF062
#EAF062 is a very light, vivid yellow. Relative luminance 0.807; OKLCH L 92.4% C 0.163 H 111.5°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).
Color values
| HEX | #EAF062 |
|---|---|
| RGB | rgb(234, 240, 98) |
| HSL | hsl(63, 83%, 66%) |
| HSV | hsv(63, 59%, 94%) |
| CMYK | cmyk(2.5%, 0%, 59.2%, 5.9%) |
| CIE-LAB | lab(92.00, -19.85, 66.09) |
| CIE-LCH | lch(92.00, 69.01, 106.72°) |
| OKLab | oklab(92.41% -0.0596 0.1515) |
| OKLCH | oklch(92.41% 0.163 111.5) |
| XYZ | xyz(67.2982, 80.6960, 23.5837) |
| Luminance | 0.8069 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Butter Yellow
#FFFD74
ΔE00 3.50
Pastel Yellow
#FFFE71
ΔE00 3.51
Straw
#FCF679
ΔE00 3.56
Custard
#FFFD78
ΔE00 3.58
Off Yellow
#F1F33F
ΔE00 3.60
Canary
#FDFF63
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EAF062 #6862F0
analogous
#F0AF62 #EAF062 #A3F062
triadic
#EAF062 #62EAF0 #F062EA
tetradic
#EAF062 #62F0AF #6862F0 #F062A3
square
#EAF062 #62F0AF #6862F0 #F062A3
split-complementary
#EAF062 #62A3F0 #AF62F0
monochromatic
#BDC513 #E3EB2A #EAF062 #F1F59A #F9FBD2
Accessibility & contrast
On white
1.23
#EAF062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.14
#EAF062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EAF062
17.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EAF062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EAF062 | 1.00 | 1.23 | 17.14 | 17.14 |
| #FFFFFF | 1.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE652
Deuteranopia (green-blind)
#FFEA6B
Tritanopia (blue-blind)
#F9E3D2
Achromatopsia (no color)
#E8E8E8
Design tokens & code
CSS
--color: #eaf062; /* rgb */ color: rgb(234, 240, 98); /* oklch */ color: oklch(92.4% 0.163 111.5);
Tailwind
colors: {
custom: {
50: '#f4f494',
500: '#eaf062',
950: '#000000',
},
}SCSS
$custom: #eaf062; $custom-light: #f4f494; $custom-dark: #000000;
JSON
{
"hex": "#eaf062",
"rgb": {
"r": 234,
"g": 240,
"b": 98
},
"hsl": {
"h": 62.535,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.92414,
"c": 0.16282,
"h": 111.5
},
"luminance": 0.80694
}Semantic roles & 50–950 ramp
primary
#EAF062
secondary
#3A34C2
accent
#07DF10
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F