#E9D462#E9D462
#E9D462 is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.5% C 0.136 H 99.0°. Best body text is #000000 at 14.06:1 contrast (WCAG AA passes).
Color values
| HEX | #E9D462 |
|---|---|
| RGB | rgb(233, 212, 98) |
| HSL | hsl(51, 75%, 65%) |
| HSV | hsv(51, 58%, 91%) |
| CMYK | cmyk(0%, 9%, 57.9%, 8.6%) |
| CIE-LAB | lab(84.64, -6.40, 57.90) |
| CIE-LCH | lch(84.64, 58.25, 96.31°) |
| OKLab | oklab(86.54% -0.0212 0.1341) |
| OKLCH | oklch(86.54% 0.136 99) |
| XYZ | xyz(59.3546, 65.2949, 21.0296) |
| Luminance | 0.6529 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.50
Sandy
#F1DA7A
ΔE00 3.03
Light Mustard
#F7D560
ΔE00 3.56
Sand Yellow
#FCE166
ΔE00 3.60
Pale Gold
#FDDE6C
ΔE00 3.76
Light Gold
#FDDC5C
ΔE00 4.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E9D462 #6277E9
analogous
#E99162 #E9D462 #BAE962
triadic
#E9D462 #62E9D4 #D462E9
tetradic
#E9D462 #62E991 #6277E9 #E962BA
square
#E9D462 #62E991 #6277E9 #E962BA
split-complementary
#E9D462 #62BAE9 #9162E9
monochromatic
#B79E1A #E1C52C #E9D462 #F1E398 #F8F1CD
Accessibility & contrast
On white
1.49
#E9D462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.06
#E9D462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E9D462
14.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E9D462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E9D462 | 1.00 | 1.49 | 14.06 | 14.06 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6CF56
Deuteranopia (green-blind)
#ECD767
Tritanopia (blue-blind)
#F9C6BB
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #e9d462; /* rgb */ color: rgb(233, 212, 98); /* oklch */ color: oklch(86.5% 0.136 99.0);
Tailwind
colors: {
custom: {
50: '#f3e092',
500: '#e9d462',
950: '#000000',
},
}SCSS
$custom: #e9d462; $custom-light: #f3e092; $custom-dark: #000000;
JSON
{
"hex": "#e9d462",
"rgb": {
"r": 233,
"g": 212,
"b": 98
},
"hsl": {
"h": 50.667,
"s": 75.419,
"l": 64.902
},
"oklch": {
"l": 0.86537,
"c": 0.13577,
"h": 99
},
"luminance": 0.65292
}Semantic roles & 50–950 ramp
primary
#E9D462
secondary
#384CB7
accent
#2DD80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F