#8A8972#8A8972
#8A8972 is a light, muted yellow. Relative luminance 0.245; OKLCH L 62.4% C 0.033 H 105.3°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #8A8972 |
|---|---|
| RGB | rgb(138, 137, 114) |
| HSL | hsl(58, 10%, 49%) |
| HSV | hsv(58, 17%, 54%) |
| CMYK | cmyk(0%, 0.7%, 17.4%, 45.9%) |
| CIE-LAB | lab(56.59, -3.77, 12.50) |
| CIE-LCH | lch(56.59, 13.05, 106.78°) |
| OKLab | oklab(62.45% -0.0088 0.0321) |
| OKLCH | oklch(62.45% 0.033 105.3) |
| XYZ | xyz(22.4639, 24.5097, 19.4638) |
| Luminance | 0.2451 (WCAG relative) |
| Temperature | neutral |
| Family | yellow |
Closest named colors
Brown Grey
#8D8468
ΔE00 4.25
Taupe
#8B7D6B
ΔE00 8.45
Cement
#A5A391
ΔE00 8.98
Brownish Grey
#86775F
ΔE00 9.22
Grey
#929591
ΔE00 9.29
Medium Grey
#7D7F7C
ΔE00 9.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A8972 #72738A
analogous
#8A7D72 #8A8972 #7F8A72
triadic
#8A8972 #728A89 #89728A
tetradic
#8A8972 #728A7D #72738A #8A727F
square
#8A8972 #728A7D #72738A #8A727F
split-complementary
#8A8972 #727F8A #7D728A
monochromatic
#47463B #686856 #8A8972 #A6A593 #C2C1B5
Accessibility & contrast
On white
3.56
#8A8972 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.90
#8A8972 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A8972
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A8972 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A8972 | 1.00 | 3.56 | 5.90 | 5.90 |
| #FFFFFF | 3.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8D8771
Deuteranopia (green-blind)
#8E8873
Tritanopia (blue-blind)
#8E8683
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #8a8972; /* rgb */ color: rgb(138, 137, 114); /* oklch */ color: oklch(62.4% 0.033 105.3);
Tailwind
colors: {
custom: {
50: '#acab9a',
500: '#8a8972',
950: '#000000',
},
}SCSS
$custom: #8a8972; $custom-light: #acab9a; $custom-dark: #000000;
JSON
{
"hex": "#8a8972",
"rgb": {
"r": 138,
"g": 137,
"b": 114
},
"hsl": {
"h": 57.5,
"s": 9.524,
"l": 49.412
},
"oklch": {
"l": 0.62447,
"c": 0.03332,
"h": 105.3
},
"luminance": 0.24509
}Semantic roles & 50–950 ramp
primary
#8A8972
secondary
#A6A7B1
accent
#78B375
background
#FAFAF9
surface
#F4F4F2
border
#CECECC
text
#10100E
muted
#7F7F7E