#8A866F#8A866F
#8A866F is a mid, muted yellow. Relative luminance 0.236; OKLCH L 61.7% C 0.034 H 99.1°. Best body text is #000000 at 5.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8A866F |
|---|---|
| RGB | rgb(138, 134, 111) |
| HSL | hsl(51, 11%, 49%) |
| HSV | hsv(51, 20%, 54%) |
| CMYK | cmyk(0%, 2.9%, 19.6%, 45.9%) |
| CIE-LAB | lab(55.69, -2.58, 12.95) |
| CIE-LCH | lch(55.69, 13.20, 101.27°) |
| OKLab | oklab(61.71% -0.0053 0.0332) |
| OKLCH | oklch(61.71% 0.034 99.1) |
| XYZ | xyz(21.8754, 23.6015, 18.4390) |
| Luminance | 0.2360 (WCAG relative) |
| Temperature | neutral |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 2.77
Taupe
#8B7D6B
ΔE00 6.80
Brownish Grey
#86775F
ΔE00 7.49
Medium Grey
#7D7F7C
ΔE00 9.20
Grey Brown
#7F7053
ΔE00 9.58
Cement
#A5A391
ΔE00 9.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A866F #6F738A
analogous
#8A796F #8A866F #818A6F
triadic
#8A866F #6F8A86 #866F8A
tetradic
#8A866F #6F8A79 #6F738A #8A6F81
square
#8A866F #6F8A79 #6F738A #8A6F81
split-complementary
#8A866F #6F818A #796F8A
monochromatic
#464438 #686554 #8A866F #A6A390 #C1BFB2
Accessibility & contrast
On white
3.67
#8A866F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.72
#8A866F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A866F
5.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A866F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A866F | 1.00 | 3.67 | 5.72 | 5.72 |
| #FFFFFF | 3.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B846E
Deuteranopia (green-blind)
#8C8670
Tritanopia (blue-blind)
#8E8380
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8a866f; /* rgb */ color: rgb(138, 134, 111); /* oklch */ color: oklch(61.7% 0.034 99.1);
Tailwind
colors: {
custom: {
50: '#aca998',
500: '#8a866f',
950: '#000000',
},
}SCSS
$custom: #8a866f; $custom-light: #aca998; $custom-dark: #000000;
JSON
{
"hex": "#8a866f",
"rgb": {
"r": 138,
"g": 134,
"b": 111
},
"hsl": {
"h": 51.111,
"s": 10.843,
"l": 48.824
},
"oklch": {
"l": 0.61708,
"c": 0.03367,
"h": 99.1
},
"luminance": 0.23601
}Semantic roles & 50–950 ramp
primary
#8A866F
secondary
#A4A6B1
accent
#7DB474
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#100F0D
muted
#7F7F7E