#E7D752#E7D752
#E7D752 is a very light, vivid yellow. Relative luminance 0.662; OKLCH L 86.8% C 0.151 H 102.4°. Best body text is #000000 at 14.24:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D752 |
|---|---|
| RGB | rgb(231, 215, 82) |
| HSL | hsl(54, 76%, 61%) |
| HSV | hsv(54, 65%, 91%) |
| CMYK | cmyk(0%, 6.9%, 64.5%, 9.4%) |
| CIE-LAB | lab(85.10, -9.78, 65.23) |
| CIE-LCH | lch(85.10, 65.96, 98.53°) |
| OKLab | oklab(86.82% -0.0325 0.1476) |
| OKLCH | oklch(86.82% 0.151 102.4) |
| XYZ | xyz(58.7808, 66.2014, 17.6629) |
| Luminance | 0.6620 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.40
Sand Yellow
#FCE166
ΔE00 4.09
Piss Yellow
#DDD618
ΔE00 4.26
Light Gold
#FDDC5C
ΔE00 4.80
Yellow Tan
#FFE36E
ΔE00 4.87
Yellowish
#FAEE66
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D752 #5262E7
analogous
#E78D52 #E7D752 #ADE752
triadic
#E7D752 #52E7D7 #D752E7
tetradic
#E7D752 #52E78D #5262E7 #E752AD
square
#E7D752 #52E78D #5262E7 #E752AD
split-complementary
#E7D752 #52ADE7 #8D52E7
monochromatic
#A79817 #DDC91F #E7D752 #EEE388 #F6F0BD
Accessibility & contrast
On white
1.47
#E7D752 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.24
#E7D752 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D752
14.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D752 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D752 | 1.00 | 1.47 | 14.24 | 14.24 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD141
Deuteranopia (green-blind)
#EFD85A
Tritanopia (blue-blind)
#F8C9BB
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e7d752; /* rgb */ color: rgb(231, 215, 82); /* oklch */ color: oklch(86.8% 0.151 102.4);
Tailwind
colors: {
custom: {
50: '#f2e389',
500: '#e7d752',
950: '#000000',
},
}SCSS
$custom: #e7d752; $custom-light: #f2e389; $custom-dark: #000000;
JSON
{
"hex": "#e7d752",
"rgb": {
"r": 231,
"g": 215,
"b": 82
},
"hsl": {
"h": 53.557,
"s": 75.635,
"l": 61.373
},
"oklch": {
"l": 0.86819,
"c": 0.15111,
"h": 102.4
},
"luminance": 0.66199
}Semantic roles & 50–950 ramp
primary
#E7D752
secondary
#3441A9
accent
#23D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F