#E4E966#E4E966
#E4E966 is a very light, vivid yellow. Relative luminance 0.757; OKLCH L 90.5% C 0.153 H 111.1°. Best body text is #000000 at 16.15:1 contrast (WCAG AA passes).
Color values
| HEX | #E4E966 |
|---|---|
| RGB | rgb(228, 233, 102) |
| HSL | hsl(62, 75%, 66%) |
| HSV | hsv(62, 56%, 91%) |
| CMYK | cmyk(2.1%, 0%, 56.2%, 8.6%) |
| CIE-LAB | lab(89.73, -18.58, 61.76) |
| CIE-LCH | lch(89.73, 64.49, 106.74°) |
| OKLab | oklab(90.51% -0.0552 0.1429) |
| OKLCH | oklch(90.51% 0.153 111.1) |
| XYZ | xyz(63.5337, 75.7325, 23.8388) |
| Luminance | 0.7573 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 4.12
Yellowish Tan
#FCFC81
ΔE00 4.47
Yellowish
#FAEE66
ΔE00 4.49
Custard
#FFFD78
ΔE00 4.74
Butter Yellow
#FFFD74
ΔE00 4.77
Light Yellow
#FFFE7A
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4E966 #6B66E9
analogous
#E9AC66 #E4E966 #A2E966
triadic
#E4E966 #66E4E9 #E966E4
tetradic
#E4E966 #66E9AC #6B66E9 #E966A2
square
#E4E966 #66E9AC #6B66E9 #E966A2
split-complementary
#E4E966 #66A2E9 #AC66E9
monochromatic
#B4BA1B #DBE130 #E4E966 #EDF19C #F7F8D1
Accessibility & contrast
On white
1.30
#E4E966 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.15
#E4E966 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4E966
16.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4E966 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4E966 | 1.00 | 1.30 | 16.15 | 16.15 |
| #FFFFFF | 1.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9E058
Deuteranopia (green-blind)
#FAE36E
Tritanopia (blue-blind)
#F2DCCD
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #e4e966; /* rgb */ color: rgb(228, 233, 102); /* oklch */ color: oklch(90.5% 0.153 111.1);
Tailwind
colors: {
custom: {
50: '#efef96',
500: '#e4e966',
950: '#000000',
},
}SCSS
$custom: #e4e966; $custom-light: #efef96; $custom-dark: #000000;
JSON
{
"hex": "#e4e966",
"rgb": {
"r": 228,
"g": 233,
"b": 102
},
"hsl": {
"h": 62.29,
"s": 74.857,
"l": 65.686
},
"oklch": {
"l": 0.90508,
"c": 0.15321,
"h": 111.1
},
"luminance": 0.75731
}Semantic roles & 50–950 ramp
primary
#E4E966
secondary
#3F3AB9
accent
#0ED716
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F