#8A7B4E#8A7B4E
#8A7B4E is a mid, moderate yellow. Relative luminance 0.201; OKLCH L 58.6% C 0.065 H 91.7°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8A7B4E |
|---|---|
| RGB | rgb(138, 123, 78) |
| HSL | hsl(45, 28%, 42%) |
| HSV | hsv(45, 43%, 54%) |
| CMYK | cmyk(0%, 10.9%, 43.5%, 45.9%) |
| CIE-LAB | lab(51.97, -0.94, 26.68) |
| CIE-LCH | lch(51.97, 26.70, 92.02°) |
| OKLab | oklab(58.57% -0.0019 0.0652) |
| OKLCH | oklch(58.57% 0.065 91.7) |
| XYZ | xyz(18.9398, 20.1200, 10.0921) |
| Luminance | 0.2012 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 6.16
Grey Brown
#7F7053
ΔE00 6.23
Brownish Grey
#86775F
ΔE00 6.73
Dirt
#8A6E45
ΔE00 6.82
Dull Brown
#876E4B
ΔE00 7.02
Drab
#828344
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A7B4E #4E5D8A
analogous
#8A5D4E #8A7B4E #7B8A4E
triadic
#8A7B4E #4E8A7B #7B4E8A
tetradic
#8A7B4E #4E8A5D #4E5D8A #8A4E7B
square
#8A7B4E #4E8A5D #4E5D8A #8A4E7B
split-complementary
#8A7B4E #4E7B8A #5D4E8A
monochromatic
#3C3522 #635838 #8A7B4E #AB9B6A #C1B591
Accessibility & contrast
On white
4.18
#8A7B4E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#8A7B4E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A7B4E
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A7B4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A7B4E | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84794B
Deuteranopia (green-blind)
#887E50
Tritanopia (blue-blind)
#937470
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #8a7b4e; /* rgb */ color: rgb(138, 123, 78); /* oklch */ color: oklch(58.6% 0.065 91.7);
Tailwind
colors: {
custom: {
50: '#ada180',
500: '#8a7b4e',
950: '#000000',
},
}SCSS
$custom: #8a7b4e; $custom-light: #ada180; $custom-dark: #000000;
JSON
{
"hex": "#8a7b4e",
"rgb": {
"r": 138,
"g": 123,
"b": 78
},
"hsl": {
"h": 45,
"s": 27.778,
"l": 42.353
},
"oklch": {
"l": 0.58569,
"c": 0.06524,
"h": 91.7
},
"luminance": 0.20119
}Semantic roles & 50–950 ramp
primary
#8A7B4E
secondary
#8690AE
accent
#7CC464
background
#FAF9F7
surface
#F4F2EE
border
#CECCC9
text
#100E0A
muted
#7F7E7C