#8A985F#8A985F
#8A985F is a light, moderate yellow-green. Relative luminance 0.287; OKLCH L 65.4% C 0.081 H 119.9°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8A985F |
|---|---|
| RGB | rgb(138, 152, 95) |
| HSL | hsl(75, 23%, 48%) |
| HSV | hsv(75, 38%, 60%) |
| CMYK | cmyk(9.2%, 0%, 37.5%, 40.4%) |
| CIE-LAB | lab(60.50, -14.72, 28.36) |
| CIE-LCH | lch(60.50, 31.95, 117.43°) |
| OKLab | oklab(65.43% -0.0402 0.0698) |
| OKLCH | oklch(65.43% 0.081 119.9) |
| XYZ | xyz(23.7750, 28.6860, 15.1087) |
| Luminance | 0.2869 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 1.36
Camo
#7F8F4E
ΔE00 3.80
Moss
#769958
ΔE00 5.12
Drab Green
#749551
ΔE00 5.26
Grey Green
#86A17D
ΔE00 7.61
Green Grey
#77926F
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A985F #6D5F98
analogous
#98895F #8A985F #6D985F
triadic
#8A985F #5F8A98 #985F8A
tetradic
#8A985F #5F9889 #6D5F98 #985F6D
square
#8A985F #5F9889 #6D5F98 #985F6D
split-complementary
#8A985F #5F6D98 #895F98
monochromatic
#464D30 #687247 #8A985F #A6B183 #C1C9A8
Accessibility & contrast
On white
3.12
#8A985F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.74
#8A985F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A985F
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A985F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A985F | 1.00 | 3.12 | 6.74 | 6.74 |
| #FFFFFF | 3.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F925B
Deuteranopia (green-blind)
#9D9262
Tritanopia (blue-blind)
#8F928A
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #8a985f; /* rgb */ color: rgb(138, 152, 95); /* oklch */ color: oklch(65.4% 0.081 119.9);
Tailwind
colors: {
custom: {
50: '#adb68d',
500: '#8a985f',
950: '#000000',
},
}SCSS
$custom: #8a985f; $custom-light: #adb68d; $custom-dark: #000000;
JSON
{
"hex": "#8a985f",
"rgb": {
"r": 138,
"g": 152,
"b": 95
},
"hsl": {
"h": 74.737,
"s": 23.077,
"l": 48.431
},
"oklch": {
"l": 0.65434,
"c": 0.08058,
"h": 119.9
},
"luminance": 0.28686
}Semantic roles & 50–950 ramp
primary
#8A985F
secondary
#A29CB7
accent
#68C07E
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#10110C
muted
#7F807D