#8A875B#8A875B
#8A875B is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.5% C 0.062 H 104.8°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8A875B |
|---|---|
| RGB | rgb(138, 135, 91) |
| HSL | hsl(56, 21%, 45%) |
| HSV | hsv(56, 34%, 54%) |
| CMYK | cmyk(0%, 2.2%, 34.1%, 45.9%) |
| CIE-LAB | lab(55.57, -6.06, 24.11) |
| CIE-LCH | lch(55.57, 24.86, 104.11°) |
| OKLab | oklab(61.49% -0.0157 0.0598) |
| OKLCH | oklch(61.49% 0.062 104.8) |
| XYZ | xyz(21.0337, 23.4870, 13.3209) |
| Luminance | 0.2349 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 4.97
Dark Khaki
#9B8F55
ΔE00 5.53
Brown Grey
#8D8468
ΔE00 5.71
Camo
#7F8F4E
ΔE00 7.14
Moss Green
#8A9A5B
ΔE00 8.41
Dark Sand
#A88F59
ΔE00 9.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A875B #5B5E8A
analogous
#8A6F5B #8A875B #768A5B
triadic
#8A875B #5B8A87 #875B8A
tetradic
#8A875B #5B8A6F #5B5E8A #8A5B76
square
#8A875B #5B8A6F #5B5E8A #8A5B76
split-complementary
#8A875B #5B768A #6F5B8A
monochromatic
#403F2A #656343 #8A875B #A8A57B #C0BE9F
Accessibility & contrast
On white
3.69
#8A875B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.70
#8A875B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A875B
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A875B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A875B | 1.00 | 3.69 | 5.70 | 5.70 |
| #FFFFFF | 3.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E8458
Deuteranopia (green-blind)
#90865D
Tritanopia (blue-blind)
#91817C
Achromatopsia (no color)
#858585
Design tokens & code
CSS
--color: #8a875b; /* rgb */ color: rgb(138, 135, 91); /* oklch */ color: oklch(61.5% 0.062 104.8);
Tailwind
colors: {
custom: {
50: '#ada98a',
500: '#8a875b',
950: '#000000',
},
}SCSS
$custom: #8a875b; $custom-light: #ada98a; $custom-dark: #000000;
JSON
{
"hex": "#8a875b",
"rgb": {
"r": 138,
"g": 135,
"b": 91
},
"hsl": {
"h": 56.17,
"s": 20.524,
"l": 44.902
},
"oklch": {
"l": 0.61486,
"c": 0.06186,
"h": 104.8
},
"luminance": 0.23487
}Semantic roles & 50–950 ramp
primary
#8A875B
secondary
#9395AE
accent
#70BD6B
background
#FAFAF8
surface
#F4F4F0
border
#CECECB
text
#10100B
muted
#7F7F7C