#8A873E#8A873E
#8A873E is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.0% C 0.095 H 106.8°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8A873E |
|---|---|
| RGB | rgb(138, 135, 62) |
| HSL | hsl(58, 38%, 39%) |
| HSV | hsv(58, 55%, 54%) |
| CMYK | cmyk(0%, 2.2%, 55.1%, 45.9%) |
| CIE-LAB | lab(55.15, -9.23, 39.06) |
| CIE-LCH | lch(55.15, 40.14, 103.29°) |
| OKLab | oklab(61.02% -0.0275 0.0914) |
| OKLCH | oklch(61.02% 0.095 106.8) |
| XYZ | xyz(20.0153, 23.0796, 7.9570) |
| Luminance | 0.2308 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 2.91
Dark Khaki
#9B8F55
ΔE00 5.52
Camo
#7F8F4E
ΔE00 6.42
Olive
#808000
ΔE00 6.45
Khaki Green
#728639
ΔE00 6.87
Shit Green
#758000
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A873E #3E418A
analogous
#8A613E #8A873E #678A3E
triadic
#8A873E #3E8A87 #873E8A
tetradic
#8A873E #3E8A61 #3E418A #8A3E67
square
#8A873E #3E8A61 #3E418A #8A3E67
split-complementary
#8A873E #3E678A #613E8A
monochromatic
#363418 #605E2B #8A873E #B2AE53 #C5C27E
Accessibility & contrast
On white
3.74
#8A873E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.62
#8A873E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A873E
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A873E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A873E | 1.00 | 3.74 | 5.62 | 5.62 |
| #FFFFFF | 3.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918237
Deuteranopia (green-blind)
#938542
Tritanopia (blue-blind)
#937F77
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #8a873e; /* rgb */ color: rgb(138, 135, 62); /* oklch */ color: oklch(61.0% 0.095 106.8);
Tailwind
colors: {
custom: {
50: '#aea976',
500: '#8a873e',
950: '#000000',
},
}SCSS
$custom: #8a873e; $custom-light: #aea976; $custom-dark: #000000;
JSON
{
"hex": "#8a873e",
"rgb": {
"r": 138,
"g": 135,
"b": 62
},
"hsl": {
"h": 57.632,
"s": 38,
"l": 39.216
},
"oklch": {
"l": 0.6102,
"c": 0.09541,
"h": 106.8
},
"luminance": 0.23079
}Semantic roles & 50–950 ramp
primary
#8A873E
secondary
#7577AF
accent
#5ECE5A
background
#FAFAF7
surface
#F5F4ED
border
#CFCEC8
text
#100F08
muted
#7F7F7B