#EAF266#EAF266
#EAF266 is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 92.9% C 0.162 H 112.2°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).
Color values
| HEX | #EAF266 |
|---|---|
| RGB | rgb(234, 242, 102) |
| HSL | hsl(63, 84%, 67%) |
| HSV | hsv(63, 58%, 95%) |
| CMYK | cmyk(3.3%, 0%, 57.9%, 5.1%) |
| CIE-LAB | lab(92.56, -20.54, 65.02) |
| CIE-LCH | lch(92.56, 68.19, 107.53°) |
| OKLab | oklab(92.87% -0.0611 0.1498) |
| OKLCH | oklch(92.87% 0.162 112.2) |
| XYZ | xyz(68.0838, 81.9574, 24.8006) |
| Luminance | 0.8196 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Butter Yellow
#FFFD74
ΔE00 3.45
Yellowish Tan
#FCFC81
ΔE00 3.45
Pastel Yellow
#FFFE71
ΔE00 3.45
Custard
#FFFD78
ΔE00 3.49
Light Yellow
#FFFE7A
ΔE00 3.51
Faded Yellow
#FEFF7F
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EAF266 #6E66F2
analogous
#F2B466 #EAF266 #A4F266
triadic
#EAF266 #66EAF2 #F266EA
tetradic
#EAF266 #66F2B4 #6E66F2 #F266A4
square
#EAF266 #66F2B4 #6E66F2 #F266A4
split-complementary
#EAF266 #66A4F2 #B466F2
monochromatic
#C2CC11 #E2ED2E #EAF266 #F2F79E #F9FCD7
Accessibility & contrast
On white
1.21
#EAF266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.39
#EAF266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EAF266
17.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EAF266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EAF266 | 1.00 | 1.21 | 17.39 | 17.39 |
| #FFFFFF | 1.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE856
Deuteranopia (green-blind)
#FFEB6E
Tritanopia (blue-blind)
#F8E5D4
Achromatopsia (no color)
#EAEAEA
Design tokens & code
CSS
--color: #eaf266; /* rgb */ color: rgb(234, 242, 102); /* oklch */ color: oklch(92.9% 0.162 112.2);
Tailwind
colors: {
custom: {
50: '#f3f697',
500: '#eaf266',
950: '#000000',
},
}SCSS
$custom: #eaf266; $custom-light: #f3f697; $custom-dark: #000000;
JSON
{
"hex": "#eaf266",
"rgb": {
"r": 234,
"g": 242,
"b": 102
},
"hsl": {
"h": 63.429,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.92873,
"c": 0.16174,
"h": 112.2
},
"luminance": 0.81956
}Semantic roles & 50–950 ramp
primary
#EAF266
secondary
#3C34C9
accent
#05E111
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F