#EAF262#EAF262
#EAF262 is a very light, vivid yellow. Relative luminance 0.819; OKLCH L 92.8% C 0.165 H 112.2°. Best body text is #000000 at 17.38:1 contrast (WCAG AA passes).
Color values
| HEX | #EAF262 |
|---|---|
| RGB | rgb(234, 242, 98) |
| HSL | hsl(63, 85%, 67%) |
| HSV | hsv(63, 60%, 95%) |
| CMYK | cmyk(3.3%, 0%, 59.5%, 5.1%) |
| CIE-LAB | lab(92.52, -20.82, 66.66) |
| CIE-LCH | lch(92.52, 69.84, 107.34°) |
| OKLab | oklab(92.84% -0.0623 0.1528) |
| OKLCH | oklch(92.84% 0.165 112.2) |
| XYZ | xyz(67.8902, 81.8800, 23.7810) |
| Luminance | 0.8188 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary
#FDFF63
ΔE00 3.42
Pastel Yellow
#FFFE71
ΔE00 3.43
Butter Yellow
#FFFD74
ΔE00 3.47
Custard
#FFFD78
ΔE00 3.56
Light Yellow
#FFFE7A
ΔE00 3.61
Off Yellow
#F1F33F
ΔE00 3.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EAF262 #6A62F2
analogous
#F2B262 #EAF262 #A2F262
triadic
#EAF262 #62EAF2 #F262EA
tetradic
#EAF262 #62F2B2 #6A62F2 #F262A2
square
#EAF262 #62F2B2 #6A62F2 #F262A2
split-complementary
#EAF262 #62A2F2 #B262F2
monochromatic
#BFC911 #E2ED29 #EAF262 #F2F79B #F9FBD3
Accessibility & contrast
On white
1.21
#EAF262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.38
#EAF262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EAF262
17.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EAF262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EAF262 | 1.00 | 1.21 | 17.38 | 17.38 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE851
Deuteranopia (green-blind)
#FFEB6B
Tritanopia (blue-blind)
#F9E5D4
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #eaf262; /* rgb */ color: rgb(234, 242, 98); /* oklch */ color: oklch(92.8% 0.165 112.2);
Tailwind
colors: {
custom: {
50: '#f4f694',
500: '#eaf262',
950: '#000000',
},
}SCSS
$custom: #eaf262; $custom-light: #f4f694; $custom-dark: #000000;
JSON
{
"hex": "#eaf262",
"rgb": {
"r": 234,
"g": 242,
"b": 98
},
"hsl": {
"h": 63.333,
"s": 84.706,
"l": 66.667
},
"oklch": {
"l": 0.92835,
"c": 0.16495,
"h": 112.2
},
"luminance": 0.81879
}Semantic roles & 50–950 ramp
primary
#EAF262
secondary
#3B33C6
accent
#04E111
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F