#E8D45F#E8D45F
#E8D45F is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.4% C 0.138 H 99.7°. Best body text is #000000 at 14.01:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D45F |
|---|---|
| RGB | rgb(232, 212, 95) |
| HSL | hsl(51, 75%, 64%) |
| HSV | hsv(51, 59%, 91%) |
| CMYK | cmyk(0%, 8.6%, 59.1%, 9%) |
| CIE-LAB | lab(84.52, -7.02, 59.09) |
| CIE-LCH | lch(84.52, 59.51, 96.78°) |
| OKLab | oklab(86.42% -0.0233 0.1363) |
| OKLCH | oklch(86.42% 0.138 99.7) |
| XYZ | xyz(58.8900, 65.0714, 20.2823) |
| Luminance | 0.6507 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.22
Sandy
#F1DA7A
ΔE00 3.43
Sand Yellow
#FCE166
ΔE00 3.70
Light Mustard
#F7D560
ΔE00 3.84
Pale Gold
#FDDE6C
ΔE00 4.03
Light Gold
#FDDC5C
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D45F #5F73E8
analogous
#E8905F #E8D45F #B8E85F
triadic
#E8D45F #5FE8D4 #D45FE8
tetradic
#E8D45F #5FE890 #5F73E8 #E85FB8
square
#E8D45F #5FE890 #5F73E8 #E85FB8
split-complementary
#E8D45F #5FB8E8 #905FE8
monochromatic
#B39D1A #E0C629 #E8D45F #F0E295 #F7F1CA
Accessibility & contrast
On white
1.50
#E8D45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.01
#E8D45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D45F
14.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D45F | 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)
#E6CF53
Deuteranopia (green-blind)
#ECD665
Tritanopia (blue-blind)
#F8C6BA
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e8d45f; /* rgb */ color: rgb(232, 212, 95); /* oklch */ color: oklch(86.4% 0.138 99.7);
Tailwind
colors: {
custom: {
50: '#f2e090',
500: '#e8d45f',
950: '#000000',
},
}SCSS
$custom: #e8d45f; $custom-light: #f2e090; $custom-dark: #000000;
JSON
{
"hex": "#e8d45f",
"rgb": {
"r": 232,
"g": 212,
"b": 95
},
"hsl": {
"h": 51.241,
"s": 74.863,
"l": 64.118
},
"oklch": {
"l": 0.86416,
"c": 0.13827,
"h": 99.7
},
"luminance": 0.65069
}Semantic roles & 50–950 ramp
primary
#E8D45F
secondary
#384AB3
accent
#2CD70E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F