#8A9857#8A9857
#8A9857 is a light, moderate yellow-green. Relative luminance 0.285; OKLCH L 65.3% C 0.090 H 118.9°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #8A9857 |
|---|---|
| RGB | rgb(138, 152, 87) |
| HSL | hsl(73, 27%, 47%) |
| HSV | hsv(73, 43%, 60%) |
| CMYK | cmyk(9.2%, 0%, 42.8%, 40.4%) |
| CIE-LAB | lab(60.38, -15.72, 32.48) |
| CIE-LCH | lch(60.38, 36.08, 115.83°) |
| OKLab | oklab(65.3% -0.0436 0.0789) |
| OKLCH | oklch(65.3% 0.09 118.9) |
| XYZ | xyz(23.4299, 28.5480, 13.2910) |
| Luminance | 0.2855 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 0.97
Camo
#7F8F4E
ΔE00 3.27
Drab Green
#749551
ΔE00 5.10
Moss
#769958
ΔE00 5.25
Khaki Green
#728639
ΔE00 7.41
Drab
#828344
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A9857 #655798
analogous
#988657 #8A9857 #6A9857
triadic
#8A9857 #578A98 #98578A
tetradic
#8A9857 #579886 #655798 #98576A
square
#8A9857 #579886 #655798 #98576A
split-complementary
#8A9857 #576A98 #865798
monochromatic
#434A2A #677141 #8A9857 #A6B37A #C0C9A0
Accessibility & contrast
On white
3.13
#8A9857 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.71
#8A9857 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A9857
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A9857 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A9857 | 1.00 | 3.13 | 6.71 | 6.71 |
| #FFFFFF | 3.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A09252
Deuteranopia (green-blind)
#9E925A
Tritanopia (blue-blind)
#909288
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #8a9857; /* rgb */ color: rgb(138, 152, 87); /* oklch */ color: oklch(65.3% 0.090 118.9);
Tailwind
colors: {
custom: {
50: '#adb687',
500: '#8a9857',
950: '#000000',
},
}SCSS
$custom: #8a9857; $custom-light: #adb687; $custom-dark: #000000;
JSON
{
"hex": "#8a9857",
"rgb": {
"r": 138,
"g": 152,
"b": 87
},
"hsl": {
"h": 72.923,
"s": 27.197,
"l": 46.863
},
"oklch": {
"l": 0.65295,
"c": 0.0901,
"h": 118.9
},
"luminance": 0.28548
}Semantic roles & 50–950 ramp
primary
#8A9857
secondary
#9C94B6
accent
#64C479
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110B
muted
#7F807C