#EAF166#EAF166
#EAF166 is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 92.7% C 0.161 H 111.8°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).
Color values
| HEX | #EAF166 |
|---|---|
| RGB | rgb(234, 241, 102) |
| HSL | hsl(63, 83%, 67%) |
| HSV | hsv(63, 58%, 95%) |
| CMYK | cmyk(2.9%, 0%, 57.7%, 5.5%) |
| CIE-LAB | lab(92.29, -20.06, 64.73) |
| CIE-LCH | lch(92.29, 67.77, 107.22°) |
| OKLab | oklab(92.66% -0.0597 0.1492) |
| OKLCH | oklch(92.66% 0.161 111.8) |
| XYZ | xyz(67.7870, 81.3638, 24.7017) |
| Luminance | 0.8136 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 3.45
Butter Yellow
#FFFD74
ΔE00 3.46
Pastel Yellow
#FFFE71
ΔE00 3.49
Custard
#FFFD78
ΔE00 3.49
Straw
#FCF679
ΔE00 3.53
Light Yellow
#FFFE7A
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EAF166 #6D66F1
analogous
#F1B366 #EAF166 #A4F166
triadic
#EAF166 #66EAF1 #F166EA
tetradic
#EAF166 #66F1B3 #6D66F1 #F166A4
square
#EAF166 #66F1B3 #6D66F1 #F166A4
split-complementary
#EAF166 #66A4F1 #B366F1
monochromatic
#C1CA12 #E2EC2E #EAF166 #F2F69E #F9FBD6
Accessibility & contrast
On white
1.22
#EAF166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
17.27
#EAF166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EAF166
17.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EAF166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EAF166 | 1.00 | 1.22 | 17.27 | 17.27 |
| #FFFFFF | 1.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 17.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 17.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFE757
Deuteranopia (green-blind)
#FFEB6E
Tritanopia (blue-blind)
#F8E4D3
Achromatopsia (no color)
#E9E9E9
Design tokens & code
CSS
--color: #eaf166; /* rgb */ color: rgb(234, 241, 102); /* oklch */ color: oklch(92.7% 0.161 111.8);
Tailwind
colors: {
custom: {
50: '#f3f597',
500: '#eaf166',
950: '#000000',
},
}SCSS
$custom: #eaf166; $custom-light: #f3f597; $custom-dark: #000000;
JSON
{
"hex": "#eaf166",
"rgb": {
"r": 234,
"g": 241,
"b": 102
},
"hsl": {
"h": 63.022,
"s": 83.234,
"l": 67.255
},
"oklch": {
"l": 0.92663,
"c": 0.16067,
"h": 111.8
},
"luminance": 0.81362
}Semantic roles & 50–950 ramp
primary
#EAF166
secondary
#3C34C7
accent
#06E011
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170E
muted
#85857F