#8A7E4D#8A7E4D
#8A7E4D is a mid, moderate yellow. Relative luminance 0.209; OKLCH L 59.2% C 0.069 H 96.0°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7E4D |
|---|---|
| RGB | rgb(138, 126, 77) |
| HSL | hsl(48, 28%, 42%) |
| HSV | hsv(48, 44%, 54%) |
| CMYK | cmyk(0%, 8.7%, 44.2%, 45.9%) |
| CIE-LAB | lab(52.80, -2.75, 28.29) |
| CIE-LCH | lch(52.80, 28.42, 95.55°) |
| OKLab | oklab(59.22% -0.0073 0.0688) |
| OKLCH | oklch(59.22% 0.069 96) |
| XYZ | xyz(19.2821, 20.8615, 10.0307) |
| Luminance | 0.2086 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 5.45
Dark Khaki
#9B8F55
ΔE00 6.28
Brown Grey
#8D8468
ΔE00 6.44
Grey Brown
#7F7053
ΔE00 7.83
Brownish Grey
#86775F
ΔE00 8.25
Dark Sand
#A88F59
ΔE00 8.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7E4D #4D598A
analogous
#8A604D #8A7E4D #788A4D
triadic
#8A7E4D #4D8A7E #7E4D8A
tetradic
#8A7E4D #4D8A60 #4D598A #8A4D78
square
#8A7E4D #4D8A60 #4D598A #8A4D78
split-complementary
#8A7E4D #4D788A #604D8A
monochromatic
#3B3621 #635A37 #8A7E4D #AB9E69 #C1B890
Accessibility & contrast
On white
4.06
#8A7E4D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.17
#8A7E4D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7E4D
5.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7E4D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7E4D | 1.00 | 4.06 | 5.17 | 5.17 |
| #FFFFFF | 4.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877C49
Deuteranopia (green-blind)
#8A804F
Tritanopia (blue-blind)
#937772
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8a7e4d; /* rgb */ color: rgb(138, 126, 77); /* oklch */ color: oklch(59.2% 0.069 96.0);
Tailwind
colors: {
custom: {
50: '#ada37f',
500: '#8a7e4d',
950: '#000000',
},
}SCSS
$custom: #8a7e4d; $custom-light: #ada37f; $custom-dark: #000000;
JSON
{
"hex": "#8a7e4d",
"rgb": {
"r": 138,
"g": 126,
"b": 77
},
"hsl": {
"h": 48.197,
"s": 28.372,
"l": 42.157
},
"oklch": {
"l": 0.59215,
"c": 0.06919,
"h": 96
},
"luminance": 0.20861
}Semantic roles & 50–950 ramp
primary
#8A7E4D
secondary
#858DAE
accent
#76C563
background
#FAFAF7
surface
#F4F3EE
border
#CECDC9
text
#100F0A
muted
#7F7F7C