#E7D052#E7D052
#E7D052 is a very light, vivid yellow. Relative luminance 0.627; OKLCH L 85.4% C 0.145 H 98.9°. Best body text is #000000 at 13.54:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D052 |
|---|---|
| RGB | rgb(231, 208, 82) |
| HSL | hsl(51, 76%, 61%) |
| HSV | hsv(51, 65%, 91%) |
| CMYK | cmyk(0%, 10%, 64.5%, 9.4%) |
| CIE-LAB | lab(83.29, -6.24, 63.33) |
| CIE-LCH | lch(83.29, 63.63, 95.63°) |
| OKLab | oklab(85.38% -0.0224 0.1435) |
| OKLCH | oklch(85.38% 0.145 98.9) |
| XYZ | xyz(57.0363, 62.7125, 17.0814) |
| Luminance | 0.6271 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.92
Maize
#F4D054
ΔE00 3.54
Light Mustard
#F7D560
ΔE00 3.60
Light Gold
#FDDC5C
ΔE00 4.05
Sand Yellow
#FCE166
ΔE00 4.19
Pale Gold
#FDDE6C
ΔE00 4.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D052 #5269E7
analogous
#E78652 #E7D052 #B4E752
triadic
#E7D052 #52E7D0 #D052E7
tetradic
#E7D052 #52E786 #5269E7 #E752B4
square
#E7D052 #52E786 #5269E7 #E752B4
split-complementary
#E7D052 #52B4E7 #8652E7
monochromatic
#A79117 #DDC01F #E7D052 #EEDF88 #F6EDBD
Accessibility & contrast
On white
1.55
#E7D052 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.54
#E7D052 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D052
13.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D052 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D052 | 1.00 | 1.55 | 13.54 | 13.54 |
| #FFFFFF | 1.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E3CB43
Deuteranopia (green-blind)
#E9D359
Tritanopia (blue-blind)
#F8C2B6
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #e7d052; /* rgb */ color: rgb(231, 208, 82); /* oklch */ color: oklch(85.4% 0.145 98.9);
Tailwind
colors: {
custom: {
50: '#f2de88',
500: '#e7d052',
950: '#000000',
},
}SCSS
$custom: #e7d052; $custom-light: #f2de88; $custom-dark: #000000;
JSON
{
"hex": "#e7d052",
"rgb": {
"r": 231,
"g": 208,
"b": 82
},
"hsl": {
"h": 50.738,
"s": 75.635,
"l": 61.373
},
"oklch": {
"l": 0.85384,
"c": 0.14528,
"h": 98.9
},
"luminance": 0.6271
}Semantic roles & 50–950 ramp
primary
#E7D052
secondary
#3446A9
accent
#2DD80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F