#E7D672#E7D672
#E7D672 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.0% C 0.123 H 99.8°. Best body text is #000000 at 14.26:1 contrast (WCAG AA passes).
Color values
| HEX | #E7D672 |
|---|---|
| RGB | rgb(231, 214, 114) |
| HSL | hsl(51, 71%, 68%) |
| HSV | hsv(51, 51%, 91%) |
| CMYK | cmyk(0%, 7.4%, 50.6%, 9.4%) |
| CIE-LAB | lab(85.15, -6.97, 51.03) |
| CIE-LCH | lch(85.15, 51.51, 97.78°) |
| OKLab | oklab(86.96% -0.021 0.1209) |
| OKLCH | oklch(86.96% 0.123 99.8) |
| XYZ | xyz(60.0407, 66.2992, 25.5507) |
| Luminance | 0.6630 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.16
Dull Yellow
#EEDC5B
ΔE00 3.78
Sand (survey)
#E2CA76
ΔE00 4.07
Khaki (CSS)
#F0E68C
ΔE00 4.25
Wheat (survey)
#FBDD7E
ΔE00 4.34
Pale Gold
#FDDE6C
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E7D672 #7283E7
analogous
#E79B72 #E7D672 #BDE772
triadic
#E7D672 #72E7D6 #D672E7
tetradic
#E7D672 #72E79B #7283E7 #E772BD
square
#E7D672 #72E79B #7283E7 #E772BD
split-complementary
#E7D672 #72BDE7 #9B72E7
monochromatic
#BEA720 #DEC73E #E7D672 #F0E5A6 #F9F4DB
Accessibility & contrast
On white
1.47
#E7D672 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.26
#E7D672 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E7D672
14.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E7D672 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E7D672 | 1.00 | 1.47 | 14.26 | 14.26 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D169
Deuteranopia (green-blind)
#EBD876
Tritanopia (blue-blind)
#F6CABF
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e7d672; /* rgb */ color: rgb(231, 214, 114); /* oklch */ color: oklch(87.0% 0.123 99.8);
Tailwind
colors: {
custom: {
50: '#f1e29d',
500: '#e7d672',
950: '#000000',
},
}SCSS
$custom: #e7d672; $custom-light: #f1e29d; $custom-dark: #000000;
JSON
{
"hex": "#e7d672",
"rgb": {
"r": 231,
"g": 214,
"b": 114
},
"hsl": {
"h": 51.282,
"s": 70.909,
"l": 67.647
},
"oklch": {
"l": 0.86958,
"c": 0.12271,
"h": 99.8
},
"luminance": 0.66297
}Semantic roles & 50–950 ramp
primary
#E7D672
secondary
#4052BD
accent
#2FD313
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F