#E8D152#E8D152
#E8D152 is a very light, vivid yellow. Relative luminance 0.634; OKLCH L 85.7% C 0.146 H 99.0°. Best body text is #000000 at 13.67:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D152 |
|---|---|
| RGB | rgb(232, 209, 82) |
| HSL | hsl(51, 77%, 62%) |
| HSV | hsv(51, 65%, 91%) |
| CMYK | cmyk(0%, 9.9%, 64.7%, 9%) |
| CIE-LAB | lab(83.64, -6.33, 63.72) |
| CIE-LCH | lch(83.64, 64.03, 95.68°) |
| OKLab | oklab(85.68% -0.0228 0.1443) |
| OKLCH | oklch(85.68% 0.146 99) |
| XYZ | xyz(57.6047, 63.3686, 17.1781) |
| Luminance | 0.6337 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.70
Maize
#F4D054
ΔE00 3.53
Light Mustard
#F7D560
ΔE00 3.55
Light Gold
#FDDC5C
ΔE00 3.88
Sand Yellow
#FCE166
ΔE00 3.98
Pale Gold
#FDDE6C
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D152 #5269E8
analogous
#E88652 #E8D152 #B4E852
triadic
#E8D152 #52E8D1 #D152E8
tetradic
#E8D152 #52E886 #5269E8 #E852B4
square
#E8D152 #52E886 #5269E8 #E852B4
split-complementary
#E8D152 #52B4E8 #8652E8
monochromatic
#A99316 #DFC11E #E8D152 #EFDF88 #F6EEBE
Accessibility & contrast
On white
1.54
#E8D152 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.67
#E8D152 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D152
13.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D152 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D152 | 1.00 | 1.54 | 13.67 | 13.67 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CC42
Deuteranopia (green-blind)
#EAD459
Tritanopia (blue-blind)
#F9C3B6
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e8d152; /* rgb */ color: rgb(232, 209, 82); /* oklch */ color: oklch(85.7% 0.146 99.0);
Tailwind
colors: {
custom: {
50: '#f3de88',
500: '#e8d152',
950: '#000000',
},
}SCSS
$custom: #e8d152; $custom-light: #f3de88; $custom-dark: #000000;
JSON
{
"hex": "#e8d152",
"rgb": {
"r": 232,
"g": 209,
"b": 82
},
"hsl": {
"h": 50.8,
"s": 76.531,
"l": 61.569
},
"oklch": {
"l": 0.85679,
"c": 0.14612,
"h": 99
},
"luminance": 0.63366
}Semantic roles & 50–950 ramp
primary
#E8D152
secondary
#3446AB
accent
#2CD90D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F