#8A866C#8A866C
#8A866C is a mid, muted yellow. Relative luminance 0.235; OKLCH L 61.6% C 0.038 H 100.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8A866C |
|---|---|
| RGB | rgb(138, 134, 108) |
| HSL | hsl(52, 12%, 48%) |
| HSV | hsv(52, 22%, 54%) |
| CMYK | cmyk(0%, 2.9%, 21.7%, 45.9%) |
| CIE-LAB | lab(55.62, -3.06, 14.57) |
| CIE-LCH | lch(55.62, 14.89, 101.84°) |
| OKLab | oklab(61.64% -0.0067 0.0372) |
| OKLCH | oklch(61.64% 0.038 100.2) |
| XYZ | xyz(21.7130, 23.5365, 17.5836) |
| Luminance | 0.2354 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 2.48
Taupe
#8B7D6B
ΔE00 7.39
Brownish Grey
#86775F
ΔE00 7.67
Dark Khaki
#9B8F55
ΔE00 9.32
Grey Brown
#7F7053
ΔE00 9.48
Drab
#828344
ΔE00 10.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A866C #6C708A
analogous
#8A776C #8A866C #7F8A6C
triadic
#8A866C #6C8A86 #866C8A
tetradic
#8A866C #6C8A77 #6C708A #8A6C7F
square
#8A866C #6C8A77 #6C708A #8A6C7F
split-complementary
#8A866C #6C7F8A #776C8A
monochromatic
#454336 #686551 #8A866C #A6A38D #C1BFB0
Accessibility & contrast
On white
3.68
#8A866C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.71
#8A866C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A866C
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A866C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A866C | 1.00 | 3.68 | 5.71 | 5.71 |
| #FFFFFF | 3.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B846A
Deuteranopia (green-blind)
#8D866D
Tritanopia (blue-blind)
#8F827F
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8a866c; /* rgb */ color: rgb(138, 134, 108); /* oklch */ color: oklch(61.6% 0.038 100.2);
Tailwind
colors: {
custom: {
50: '#aca996',
500: '#8a866c',
950: '#000000',
},
}SCSS
$custom: #8a866c; $custom-light: #aca996; $custom-dark: #000000;
JSON
{
"hex": "#8a866c",
"rgb": {
"r": 138,
"g": 134,
"b": 108
},
"hsl": {
"h": 52,
"s": 12.195,
"l": 48.235
},
"oklch": {
"l": 0.61635,
"c": 0.03783,
"h": 100.2
},
"luminance": 0.23536
}Semantic roles & 50–950 ramp
primary
#8A866C
secondary
#A2A4B0
accent
#7CB573
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#100F0D
muted
#7F7F7E