#E7D862#E7D862
#E7D862 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.2% C 0.139 H 102.1°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D862 |
|---|---|
| RGB | rgb(231, 216, 98) |
| HSL | hsl(53, 73%, 65%) |
| HSV | hsv(53, 58%, 91%) |
| CMYK | cmyk(0%, 6.5%, 57.6%, 9.4%) |
| CIE-LAB | lab(85.50, -9.24, 58.83) |
| CIE-LCH | lch(85.50, 59.55, 98.93°) |
| OKLab | oklab(87.18% -0.0292 0.1361) |
| OKLCH | oklch(87.18% 0.139 102.1) |
| XYZ | xyz(59.7176, 66.9847, 21.3366) |
| Luminance | 0.6698 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.76
Sandy
#F1DA7A
ΔE00 3.84
Sand Yellow
#FCE166
ΔE00 4.00
Yellow Tan
#FFE36E
ΔE00 4.52
Pale Gold
#FDDE6C
ΔE00 4.75
Sandy Yellow
#FDEE73
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D862 #6271E7
analogous
#E79662 #E7D862 #B4E762
triadic
#E7D862 #62E7D8 #D862E7
tetradic
#E7D862 #62E796 #6271E7 #E762B4
square
#E7D862 #62E796 #6271E7 #E762B4
split-complementary
#E7D862 #62B4E7 #9662E7
monochromatic
#B3A21B #DFCB2D #E7D862 #EFE597 #F7F2CC
Accessibility & contrast
On white
1.46
#E7D862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.40
#E7D862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D862
14.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D862 | 1.00 | 1.46 | 14.40 | 14.40 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD256
Deuteranopia (green-blind)
#EED968
Tritanopia (blue-blind)
#F7CBBE
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #e7d862; /* rgb */ color: rgb(231, 216, 98); /* oklch */ color: oklch(87.2% 0.139 102.1);
Tailwind
colors: {
custom: {
50: '#f1e392',
500: '#e7d862',
950: '#000000',
},
}SCSS
$custom: #e7d862; $custom-light: #f1e392; $custom-dark: #000000;
JSON
{
"hex": "#e7d862",
"rgb": {
"r": 231,
"g": 216,
"b": 98
},
"hsl": {
"h": 53.233,
"s": 73.481,
"l": 64.51
},
"oklch": {
"l": 0.87179,
"c": 0.13922,
"h": 102.1
},
"luminance": 0.66982
}Semantic roles & 50–950 ramp
primary
#E7D862
secondary
#3A47B4
accent
#26D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F