#E8D552#E8D552
#E8D552 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.5% C 0.149 H 101.0°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D552 |
|---|---|
| RGB | rgb(232, 213, 82) |
| HSL | hsl(52, 77%, 62%) |
| HSV | hsv(52, 65%, 91%) |
| CMYK | cmyk(0%, 8.2%, 64.7%, 9%) |
| CIE-LAB | lab(84.67, -8.36, 64.80) |
| CIE-LCH | lch(84.67, 65.34, 97.35°) |
| OKLab | oklab(86.5% -0.0285 0.1466) |
| OKLCH | oklch(86.5% 0.149 101) |
| XYZ | xyz(58.5984, 65.3560, 17.5093) |
| Luminance | 0.6535 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.62
Sand Yellow
#FCE166
ΔE00 3.81
Light Gold
#FDDC5C
ΔE00 4.24
Light Mustard
#F7D560
ΔE00 4.44
Yellow Tan
#FFE36E
ΔE00 4.60
Pale Gold
#FDDE6C
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D552 #5265E8
analogous
#E88A52 #E8D552 #B0E852
triadic
#E8D552 #52E8D5 #D552E8
tetradic
#E8D552 #52E88A #5265E8 #E852B0
square
#E8D552 #52E88A #5265E8 #E852B0
split-complementary
#E8D552 #52B0E8 #8A52E8
monochromatic
#A99716 #DFC71E #E8D552 #EFE288 #F6EFBE
Accessibility & contrast
On white
1.49
#E8D552 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.07
#E8D552 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D552
14.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D552 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D552 | 1.00 | 1.49 | 14.07 | 14.07 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8CF41
Deuteranopia (green-blind)
#EDD759
Tritanopia (blue-blind)
#F9C7BA
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e8d552; /* rgb */ color: rgb(232, 213, 82); /* oklch */ color: oklch(86.5% 0.149 101.0);
Tailwind
colors: {
custom: {
50: '#f3e189',
500: '#e8d552',
950: '#000000',
},
}SCSS
$custom: #e8d552; $custom-light: #f3e189; $custom-dark: #000000;
JSON
{
"hex": "#e8d552",
"rgb": {
"r": 232,
"g": 213,
"b": 82
},
"hsl": {
"h": 52.4,
"s": 76.531,
"l": 61.569
},
"oklch": {
"l": 0.86496,
"c": 0.14938,
"h": 101
},
"luminance": 0.65354
}Semantic roles & 50–950 ramp
primary
#E8D552
secondary
#3443AB
accent
#27D90D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F