#E8D45E#E8D45E
#E8D45E is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.4% C 0.139 H 99.8°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D45E |
|---|---|
| RGB | rgb(232, 212, 94) |
| HSL | hsl(51, 75%, 64%) |
| HSV | hsv(51, 59%, 91%) |
| CMYK | cmyk(0%, 8.6%, 59.5%, 9%) |
| CIE-LAB | lab(84.51, -7.09, 59.52) |
| CIE-LCH | lch(84.51, 59.94, 96.79°) |
| OKLab | oklab(86.41% -0.0236 0.1371) |
| OKLCH | oklch(86.41% 0.139 99.8) |
| XYZ | xyz(58.8449, 65.0534, 20.0444) |
| Luminance | 0.6505 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.16
Sandy
#F1DA7A
ΔE00 3.53
Sand Yellow
#FCE166
ΔE00 3.68
Light Mustard
#F7D560
ΔE00 3.86
Pale Gold
#FDDE6C
ΔE00 4.06
Light Gold
#FDDC5C
ΔE00 4.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D45E #5E72E8
analogous
#E88F5E #E8D45E #B7E85E
triadic
#E8D45E #5EE8D4 #D45EE8
tetradic
#E8D45E #5EE88F #5E72E8 #E85EB7
square
#E8D45E #5EE88F #5E72E8 #E85EB7
split-complementary
#E8D45E #5EB7E8 #8F5EE8
monochromatic
#B29C19 #E0C628 #E8D45E #F0E294 #F7F1C9
Accessibility & contrast
On white
1.50
#E8D45E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.01
#E8D45E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D45E
14.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D45E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D45E | 1.00 | 1.50 | 14.01 | 14.01 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CF51
Deuteranopia (green-blind)
#ECD664
Tritanopia (blue-blind)
#F8C6BA
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e8d45e; /* rgb */ color: rgb(232, 212, 94); /* oklch */ color: oklch(86.4% 0.139 99.8);
Tailwind
colors: {
custom: {
50: '#f2e090',
500: '#e8d45e',
950: '#000000',
},
}SCSS
$custom: #e8d45e; $custom-light: #f2e090; $custom-dark: #000000;
JSON
{
"hex": "#e8d45e",
"rgb": {
"r": 232,
"g": 212,
"b": 94
},
"hsl": {
"h": 51.304,
"s": 75,
"l": 63.922
},
"oklch": {
"l": 0.86406,
"c": 0.1391,
"h": 99.8
},
"luminance": 0.65051
}Semantic roles & 50–950 ramp
primary
#E8D45E
secondary
#3849B3
accent
#2BD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F