#EAF762#EAF762
#EAF762 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 93.9% C 0.170 H 113.9°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).
Color values
| HEX | #EAF762 |
|---|---|
| RGB | rgb(234, 247, 98) |
| HSL | hsl(65, 90%, 68%) |
| HSV | hsv(65, 60%, 97%) |
| CMYK | cmyk(5.3%, 0%, 60.3%, 3.1%) |
| CIE-LAB | lab(93.84, -23.21, 68.09) |
| CIE-LCH | lch(93.84, 71.94, 108.82°) |
| OKLab | oklab(93.89% -0.069 0.1558) |
| OKLCH | oklch(93.89% 0.17 113.9) |
| XYZ | xyz(69.3987, 84.8970, 24.2838) |
| Luminance | 0.8490 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 3.29
Pastel Yellow
#FFFE71
ΔE00 3.58
Butter Yellow
#FFFD74
ΔE00 3.74
Faded Yellow
#FEFF7F
ΔE00 3.78
Light Yellow
#FFFE7A
ΔE00 3.80
Custard
#FFFD78
ΔE00 3.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EAF762 #6F62F7
analogous
#F7BA62 #EAF762 #9FF762
triadic
#EAF762 #62EAF7 #F762EA
tetradic
#EAF762 #62F7BA #6F62F7 #F7629F
square
#EAF762 #62F7BA #6F62F7 #F7629F
split-complementary
#EAF762 #629FF7 #BA62F7
monochromatic
#C2D40B #E2F428 #EAF762 #F2FA9C #FAFDD6
Accessibility & contrast
On white
1.17
#EAF762 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.98
#EAF762 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EAF762
17.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EAF762 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EAF762 | 1.00 | 1.17 | 17.98 | 17.98 |
| #FFFFFF | 1.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFEC50
Deuteranopia (green-blind)
#FFEF6C
Tritanopia (blue-blind)
#F8EAD8
Achromatopsia (no color)
#EDEDED
Design tokens & code
CSS
--color: #eaf762; /* rgb */ color: rgb(234, 247, 98); /* oklch */ color: oklch(93.9% 0.170 113.9);
Tailwind
colors: {
custom: {
50: '#f4f994',
500: '#eaf762',
950: '#000000',
},
}SCSS
$custom: #eaf762; $custom-light: #f4f994; $custom-dark: #000000;
JSON
{
"hex": "#eaf762",
"rgb": {
"r": 234,
"g": 247,
"b": 98
},
"hsl": {
"h": 65.235,
"s": 90.303,
"l": 67.647
},
"oklch": {
"l": 0.93888,
"c": 0.17037,
"h": 113.9
},
"luminance": 0.84896
}Semantic roles & 50–950 ramp
primary
#EAF762
secondary
#3D2FCF
accent
#00E614
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F