#E8D262#E8D262
#E8D262 is a very light, vivid yellow. Relative luminance 0.641; OKLCH L 86.0% C 0.134 H 98.3°. Best body text is #000000 at 13.83:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D262 |
|---|---|
| RGB | rgb(232, 210, 98) |
| HSL | hsl(50, 74%, 65%) |
| HSV | hsv(50, 58%, 91%) |
| CMYK | cmyk(0%, 9.5%, 57.8%, 9%) |
| CIE-LAB | lab(84.04, -5.79, 57.20) |
| CIE-LCH | lch(84.04, 57.49, 95.78°) |
| OKLab | oklab(86.04% -0.0194 0.1326) |
| OKLCH | oklch(86.04% 0.134 98.3) |
| XYZ | xyz(58.5322, 64.1333, 20.8487) |
| Luminance | 0.6413 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 3.03
Dull Yellow
#EEDC5B
ΔE00 3.03
Light Mustard
#F7D560
ΔE00 3.42
Maize
#F4D054
ΔE00 3.88
Pale Gold
#FDDE6C
ΔE00 3.89
Sand Yellow
#FCE166
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D262 #6278E8
analogous
#E88F62 #E8D262 #BBE862
triadic
#E8D262 #62E8D2 #D262E8
tetradic
#E8D262 #62E88F #6278E8 #E862BB
square
#E8D262 #62E88F #6278E8 #E862BB
split-complementary
#E8D262 #62BBE8 #8F62E8
monochromatic
#B59C1B #E0C32D #E8D262 #F0E197 #F8F1CD
Accessibility & contrast
On white
1.52
#E8D262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.83
#E8D262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D262
13.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D262 | 1.00 | 1.52 | 13.83 | 13.83 |
| #FFFFFF | 1.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CD57
Deuteranopia (green-blind)
#EAD567
Tritanopia (blue-blind)
#F8C4B9
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e8d262; /* rgb */ color: rgb(232, 210, 98); /* oklch */ color: oklch(86.0% 0.134 98.3);
Tailwind
colors: {
custom: {
50: '#f2df92',
500: '#e8d262',
950: '#000000',
},
}SCSS
$custom: #e8d262; $custom-light: #f2df92; $custom-dark: #000000;
JSON
{
"hex": "#e8d262",
"rgb": {
"r": 232,
"g": 210,
"b": 98
},
"hsl": {
"h": 50.149,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.86041,
"c": 0.13402,
"h": 98.3
},
"luminance": 0.64131
}Semantic roles & 50–950 ramp
primary
#E8D262
secondary
#394DB5
accent
#30D70F
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F