#E7D450#E7D450
#E7D450 is a very light, vivid yellow. Relative luminance 0.647; OKLCH L 86.2% C 0.150 H 101.1°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D450 |
|---|---|
| RGB | rgb(231, 212, 80) |
| HSL | hsl(52, 76%, 61%) |
| HSV | hsv(52, 65%, 91%) |
| CMYK | cmyk(0%, 8.2%, 65.4%, 9.4%) |
| CIE-LAB | lab(84.31, -8.38, 65.22) |
| CIE-LCH | lch(84.31, 65.75, 97.33°) |
| OKLab | oklab(86.19% -0.0288 0.1472) |
| OKLCH | oklch(86.19% 0.15 101.1) |
| XYZ | xyz(57.9489, 64.6576, 17.0156) |
| Luminance | 0.6465 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.87
Sand Yellow
#FCE166
ΔE00 4.02
Light Gold
#FDDC5C
ΔE00 4.38
Light Mustard
#F7D560
ΔE00 4.52
Piss Yellow
#DDD618
ΔE00 4.65
Maize
#F4D054
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D450 #5063E7
analogous
#E78850 #E7D450 #AEE750
triadic
#E7D450 #50E7D4 #D450E7
tetradic
#E7D450 #50E788 #5063E7 #E750AE
square
#E7D450 #50E788 #5063E7 #E750AE
split-complementary
#E7D450 #50AEE7 #8850E7
monochromatic
#A69417 #DCC41E #E7D450 #EEE186 #F6EEBC
Accessibility & contrast
On white
1.51
#E7D450 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.93
#E7D450 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D450
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D450 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D450 | 1.00 | 1.51 | 13.93 | 13.93 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7CE3F
Deuteranopia (green-blind)
#ECD658
Tritanopia (blue-blind)
#F8C6B9
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #e7d450; /* rgb */ color: rgb(231, 212, 80); /* oklch */ color: oklch(86.2% 0.150 101.1);
Tailwind
colors: {
custom: {
50: '#f2e087',
500: '#e7d450',
950: '#000000',
},
}SCSS
$custom: #e7d450; $custom-light: #f2e087; $custom-dark: #000000;
JSON
{
"hex": "#e7d450",
"rgb": {
"r": 231,
"g": 212,
"b": 80
},
"hsl": {
"h": 52.45,
"s": 75.879,
"l": 60.98
},
"oklch": {
"l": 0.86185,
"c": 0.15002,
"h": 101.1
},
"luminance": 0.64655
}Semantic roles & 50–950 ramp
primary
#E7D450
secondary
#3342A8
accent
#27D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F