#E7D062#E7D062
#E7D062 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.5% C 0.132 H 97.6°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D062 |
|---|---|
| RGB | rgb(231, 208, 98) |
| HSL | hsl(50, 73%, 65%) |
| HSV | hsv(50, 58%, 91%) |
| CMYK | cmyk(0%, 10%, 57.6%, 9.4%) |
| CIE-LAB | lab(83.43, -5.19, 56.49) |
| CIE-LCH | lch(83.43, 56.73, 95.25°) |
| OKLab | oklab(85.54% -0.0176 0.1311) |
| OKLCH | oklch(85.54% 0.132 97.6) |
| XYZ | xyz(57.7177, 62.9850, 20.6700) |
| Luminance | 0.6298 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 3.14
Light Mustard
#F7D560
ΔE00 3.37
Dull Yellow
#EEDC5B
ΔE00 3.59
Maize
#F4D054
ΔE00 3.72
Sand (survey)
#E2CA76
ΔE00 3.99
Pale Gold
#FDDE6C
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D062 #6279E7
analogous
#E78E62 #E7D062 #BCE762
triadic
#E7D062 #62E7D0 #D062E7
tetradic
#E7D062 #62E78E #6279E7 #E762BC
square
#E7D062 #62E78E #6279E7 #E762BC
split-complementary
#E7D062 #62BCE7 #8E62E7
monochromatic
#B3991B #DFC02D #E7D062 #EFE097 #F7F0CC
Accessibility & contrast
On white
1.54
#E7D062 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.60
#E7D062 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D062
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D062 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D062 | 1.00 | 1.54 | 13.60 | 13.60 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E2CB57
Deuteranopia (green-blind)
#E8D367
Tritanopia (blue-blind)
#F7C2B8
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #e7d062; /* rgb */ color: rgb(231, 208, 98); /* oklch */ color: oklch(85.5% 0.132 97.6);
Tailwind
colors: {
custom: {
50: '#f1de92',
500: '#e7d062',
950: '#000000',
},
}SCSS
$custom: #e7d062; $custom-light: #f1de92; $custom-dark: #000000;
JSON
{
"hex": "#e7d062",
"rgb": {
"r": 231,
"g": 208,
"b": 98
},
"hsl": {
"h": 49.624,
"s": 73.481,
"l": 64.51
},
"oklch": {
"l": 0.85544,
"c": 0.1323,
"h": 97.6
},
"luminance": 0.62983
}Semantic roles & 50–950 ramp
primary
#E7D062
secondary
#3A4FB4
accent
#32D610
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F