#8A9656#8A9656
#8A9656 is a light, moderate yellow-green. Relative luminance 0.279; OKLCH L 64.8% C 0.088 H 117.6°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8A9656 |
|---|---|
| RGB | rgb(138, 150, 86) |
| HSL | hsl(71, 27%, 46%) |
| HSV | hsv(71, 43%, 59%) |
| CMYK | cmyk(8%, 0%, 42.7%, 41.2%) |
| CIE-LAB | lab(59.79, -14.79, 32.26) |
| CIE-LCH | lch(59.79, 35.49, 114.63°) |
| OKLab | oklab(64.82% -0.041 0.0783) |
| OKLCH | oklch(64.82% 0.088 117.6) |
| XYZ | xyz(23.0674, 27.8880, 12.9700) |
| Luminance | 0.2789 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 1.62
Camo
#7F8F4E
ΔE00 2.90
Drab Green
#749551
ΔE00 5.39
Moss
#769958
ΔE00 5.69
Drab
#828344
ΔE00 6.85
Khaki Green
#728639
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A9656 #625696
analogous
#968256 #8A9656 #6A9656
triadic
#8A9656 #568A96 #96568A
tetradic
#8A9656 #569682 #625696 #96566A
square
#8A9656 #569682 #625696 #96566A
split-complementary
#8A9656 #566A96 #825696
monochromatic
#424829 #666F40 #8A9656 #A7B178 #C0C89F
Accessibility & contrast
On white
3.19
#8A9656 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#8A9656 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A9656
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A9656 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A9656 | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E9051
Deuteranopia (green-blind)
#9C9059
Tritanopia (blue-blind)
#909087
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #8a9656; /* rgb */ color: rgb(138, 150, 86); /* oklch */ color: oklch(64.8% 0.088 117.6);
Tailwind
colors: {
custom: {
50: '#adb487',
500: '#8a9656',
950: '#000000',
},
}SCSS
$custom: #8a9656; $custom-light: #adb487; $custom-dark: #000000;
JSON
{
"hex": "#8a9656",
"rgb": {
"r": 138,
"g": 150,
"b": 86
},
"hsl": {
"h": 71.25,
"s": 27.119,
"l": 46.275
},
"oklch": {
"l": 0.64816,
"c": 0.08841,
"h": 117.6
},
"luminance": 0.27888
}Semantic roles & 50–950 ramp
primary
#8A9656
secondary
#9993B5
accent
#64C376
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110B
muted
#7F807C