#E8D462#E8D462
#E8D462 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.4% C 0.136 H 99.5°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D462 |
|---|---|
| RGB | rgb(232, 212, 98) |
| HSL | hsl(51, 74%, 65%) |
| HSV | hsv(51, 58%, 91%) |
| CMYK | cmyk(0%, 8.6%, 57.8%, 9%) |
| CIE-LAB | lab(84.55, -6.81, 57.78) |
| CIE-LCH | lch(84.55, 58.18, 96.72°) |
| OKLab | oklab(86.45% -0.0223 0.1339) |
| OKLCH | oklch(86.45% 0.136 99.5) |
| XYZ | xyz(59.0290, 65.1270, 21.0144) |
| Luminance | 0.6512 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.45
Sandy
#F1DA7A
ΔE00 3.12
Sand Yellow
#FCE166
ΔE00 3.75
Light Mustard
#F7D560
ΔE00 3.83
Pale Gold
#FDDE6C
ΔE00 3.98
Yellow Tan
#FFE36E
ΔE00 4.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D462 #6276E8
analogous
#E89162 #E8D462 #B9E862
triadic
#E8D462 #62E8D4 #D462E8
tetradic
#E8D462 #62E891 #6276E8 #E862B9
square
#E8D462 #62E891 #6276E8 #E862B9
split-complementary
#E8D462 #62B9E8 #9162E8
monochromatic
#B59E1B #E0C52D #E8D462 #F0E397 #F8F1CD
Accessibility & contrast
On white
1.50
#E8D462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.03
#E8D462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D462
14.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D462 | 1.00 | 1.50 | 14.03 | 14.03 |
| #FFFFFF | 1.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#ECD668
Tritanopia (blue-blind)
#F8C6BB
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e8d462; /* rgb */ color: rgb(232, 212, 98); /* oklch */ color: oklch(86.4% 0.136 99.5);
Tailwind
colors: {
custom: {
50: '#f2e092',
500: '#e8d462',
950: '#000000',
},
}SCSS
$custom: #e8d462; $custom-light: #f2e092; $custom-dark: #000000;
JSON
{
"hex": "#e8d462",
"rgb": {
"r": 232,
"g": 212,
"b": 98
},
"hsl": {
"h": 51.045,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.86448,
"c": 0.13571,
"h": 99.5
},
"luminance": 0.65125
}Semantic roles & 50–950 ramp
primary
#E8D462
secondary
#394CB5
accent
#2DD70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F