#E8D673#E8D673
#E8D673 is a very light, vivid yellow. Relative luminance 0.665; OKLCH L 87.1% C 0.122 H 99.2°. Best body text is #000000 at 14.30:1 contrast (WCAG AA passes).
Color values
| HEX | #E8D673 |
|---|---|
| RGB | rgb(232, 214, 115) |
| HSL | hsl(51, 72%, 68%) |
| HSV | hsv(51, 50%, 91%) |
| CMYK | cmyk(0%, 7.8%, 50.4%, 9%) |
| CIE-LAB | lab(85.25, -6.48, 50.69) |
| CIE-LCH | lch(85.25, 51.11, 97.29°) |
| OKLab | oklab(87.06% -0.0195 0.1202) |
| OKLCH | oklch(87.06% 0.122 99.2) |
| XYZ | xyz(60.4217, 66.4890, 25.8673) |
| Luminance | 0.6649 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.88
Sand (survey)
#E2CA76
ΔE00 3.87
Dull Yellow
#EEDC5B
ΔE00 3.89
Wheat (survey)
#FBDD7E
ΔE00 4.05
Khaki (CSS)
#F0E68C
ΔE00 4.29
Pale Gold
#FDDE6C
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E8D673 #7385E8
analogous
#E89B73 #E8D673 #BFE873
triadic
#E8D673 #73E8D6 #D673E8
tetradic
#E8D673 #73E89B #7385E8 #E873BF
square
#E8D673 #73E89B #7385E8 #E873BF
split-complementary
#E8D673 #73BFE8 #9B73E8
monochromatic
#C1A820 #DFC73E #E8D673 #F1E5A8 #F9F5DC
Accessibility & contrast
On white
1.47
#E8D673 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.30
#E8D673 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E8D673
14.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E8D673 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E8D673 | 1.00 | 1.47 | 14.30 | 14.30 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D16A
Deuteranopia (green-blind)
#ECD877
Tritanopia (blue-blind)
#F7CABF
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e8d673; /* rgb */ color: rgb(232, 214, 115); /* oklch */ color: oklch(87.1% 0.122 99.2);
Tailwind
colors: {
custom: {
50: '#f1e29d',
500: '#e8d673',
950: '#000000',
},
}SCSS
$custom: #e8d673; $custom-light: #f1e29d; $custom-dark: #000000;
JSON
{
"hex": "#e8d673",
"rgb": {
"r": 232,
"g": 214,
"b": 115
},
"hsl": {
"h": 50.769,
"s": 71.779,
"l": 68.039
},
"oklch": {
"l": 0.87058,
"c": 0.12179,
"h": 99.2
},
"luminance": 0.66487
}Semantic roles & 50–950 ramp
primary
#E8D673
secondary
#4053C0
accent
#30D412
background
#FFFEFC
surface
#FEFCF5
border
#D6D5CF
text
#17150E
muted
#85847F