#8E7E4A#8E7E4A
#8E7E4A is a mid, moderate yellow. Relative luminance 0.212; OKLCH L 59.6% C 0.074 H 92.9°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #8E7E4A |
|---|---|
| RGB | rgb(142, 126, 74) |
| HSL | hsl(46, 31%, 42%) |
| HSV | hsv(46, 48%, 56%) |
| CMYK | cmyk(0%, 11.3%, 47.9%, 44.3%) |
| CIE-LAB | lab(53.13, -1.32, 30.43) |
| CIE-LCH | lch(53.13, 30.46, 92.49°) |
| OKLab | oklab(59.56% -0.0037 0.0734) |
| OKLCH | oklch(59.56% 0.074 92.9) |
| XYZ | xyz(19.8528, 21.1677, 9.5173) |
| Luminance | 0.2117 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Khaki
#9B8F55
ΔE00 6.06
Drab
#828344
ΔE00 6.40
Brown Grey
#8D8468
ΔE00 7.16
Dark Sand
#A88F59
ΔE00 7.34
Hazel
#8E7618
ΔE00 7.71
Coffee
#A6814C
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E7E4A #4A5A8E
analogous
#8E5C4A #8E7E4A #7C8E4A
triadic
#8E7E4A #4A8E7E #7E4A8E
tetradic
#8E7E4A #4A8E5C #4A5A8E #8E4A7C
square
#8E7E4A #4A8E5C #4A5A8E #8E4A7C
split-complementary
#8E7E4A #4A7C8E #5C4A8E
monochromatic
#3E3720 #665A35 #8E7E4A #AF9E66 #C4B78E
Accessibility & contrast
On white
4.01
#8E7E4A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#8E7E4A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8E7E4A
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E7E4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8E7E4A | 1.00 | 4.01 | 5.23 | 5.23 |
| #FFFFFF | 4.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887C46
Deuteranopia (green-blind)
#8C814C
Tritanopia (blue-blind)
#977771
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #8e7e4a; /* rgb */ color: rgb(142, 126, 74); /* oklch */ color: oklch(59.6% 0.074 92.9);
Tailwind
colors: {
custom: {
50: '#b0a37d',
500: '#8e7e4a',
950: '#000000',
},
}SCSS
$custom: #8e7e4a; $custom-light: #b0a37d; $custom-dark: #000000;
JSON
{
"hex": "#8e7e4a",
"rgb": {
"r": 142,
"g": 126,
"b": 74
},
"hsl": {
"h": 45.882,
"s": 31.481,
"l": 42.353
},
"oklch": {
"l": 0.59556,
"c": 0.07351,
"h": 92.9
},
"luminance": 0.21167
}Semantic roles & 50–950 ramp
primary
#8E7E4A
secondary
#848EB0
accent
#78C860
background
#FBFAF7
surface
#F6F3EE
border
#D0CDC9
text
#110F0A
muted
#807F7C