#E8D52F#E8D52F
#E8D52F is a very light, vivid yellow. Relative luminance 0.649; OKLCH L 86.3% C 0.170 H 102.3°. Best body text is #000000 at 13.99:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D52F |
|---|---|
| RGB | rgb(232, 213, 47) |
| HSL | hsl(54, 80%, 55%) |
| HSV | hsv(54, 80%, 91%) |
| CMYK | cmyk(0%, 8.2%, 79.7%, 9%) |
| CIE-LAB | lab(84.46, -9.92, 76.81) |
| CIE-LCH | lch(84.46, 77.44, 97.36°) |
| OKLab | oklab(86.27% -0.0363 0.166) |
| OKLCH | oklch(86.27% 0.17 102.3) |
| XYZ | xyz(57.5888, 64.9522, 12.1924) |
| Luminance | 0.6495 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Piss Yellow
#DDD618
ΔE00 2.95
Dull Yellow
#EEDC5B
ΔE00 3.57
Banana
#FFE135
ΔE00 4.10
Sun Yellow
#FFDF22
ΔE00 4.35
Dandelion
#FEDF08
ΔE00 4.44
Sunflower Yellow
#FFDA03
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D52F #2F42E8
analogous
#E8792F #E8D52F #9EE82F
triadic
#E8D52F #2FE8D5 #D52FE8
tetradic
#E8D52F #2FE879 #2F42E8 #E82F9E
square
#E8D52F #2FE879 #2F42E8 #E82F9E
split-complementary
#E8D52F #2F9EE8 #792FE8
monochromatic
#8D8010 #C4B216 #E8D52F #EEE066 #F4EB9D
Accessibility & contrast
On white
1.50
#E8D52F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.99
#E8D52F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D52F
13.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D52F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D52F | 1.00 | 1.50 | 13.99 | 13.99 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9CE00
Deuteranopia (green-blind)
#EFD63D
Tritanopia (blue-blind)
#FAC5B7
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e8d52f; /* rgb */ color: rgb(232, 213, 47); /* oklch */ color: oklch(86.3% 0.170 102.3);
Tailwind
colors: {
custom: {
50: '#f4e177',
500: '#e8d52f',
950: '#000000',
},
}SCSS
$custom: #e8d52f; $custom-light: #f4e177; $custom-dark: #000000;
JSON
{
"hex": "#e8d52f",
"rgb": {
"r": 232,
"g": 213,
"b": 47
},
"hsl": {
"h": 53.838,
"s": 80.087,
"l": 54.706
},
"oklch": {
"l": 0.86265,
"c": 0.16989,
"h": 102.3
},
"luminance": 0.6495
}Semantic roles & 50–950 ramp
primary
#E8D52F
secondary
#293492
accent
#46F731
background
#FFFEFB
surface
#FFFCF2
border
#D7D5CC
text
#18150A
muted
#86847D