#8A9B52#8A9B52
#8A9B52 is a light, moderate yellow-green. Relative luminance 0.295; OKLCH L 65.9% C 0.100 H 120.0°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #8A9B52 |
|---|---|
| RGB | rgb(138, 155, 82) |
| HSL | hsl(74, 31%, 46%) |
| HSV | hsv(74, 47%, 61%) |
| CMYK | cmyk(11%, 0%, 47.1%, 39.2%) |
| CIE-LAB | lab(61.18, -17.86, 36.09) |
| CIE-LCH | lch(61.18, 40.26, 116.33°) |
| OKLab | oklab(65.91% -0.05 0.0866) |
| OKLCH | oklch(65.91% 0.1 120) |
| XYZ | xyz(23.7257, 29.4552, 12.4165) |
| Luminance | 0.2945 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 1.97
Camo
#7F8F4E
ΔE00 4.16
Drab Green
#749551
ΔE00 5.18
Moss
#769958
ΔE00 5.31
Flat Green
#699D4C
ΔE00 7.32
Baby Shit Green
#889717
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A9B52 #63529B
analogous
#9B8852 #8A9B52 #669B52
triadic
#8A9B52 #528A9B #9B528A
tetradic
#8A9B52 #529B88 #63529B #9B5266
square
#8A9B52 #529B88 #63529B #9B5266
split-complementary
#8A9B52 #52669B #88529B
monochromatic
#434B28 #66733D #8A9B52 #A7B674 #C0CB9D
Accessibility & contrast
On white
3.05
#8A9B52 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.89
#8A9B52 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A9B52
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A9B52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A9B52 | 1.00 | 3.05 | 6.89 | 6.89 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3944C
Deuteranopia (green-blind)
#A19456
Tritanopia (blue-blind)
#90948A
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #8a9b52; /* rgb */ color: rgb(138, 155, 82); /* oklch */ color: oklch(65.9% 0.100 120.0);
Tailwind
colors: {
custom: {
50: '#adb884',
500: '#8a9b52',
950: '#000000',
},
}SCSS
$custom: #8a9b52; $custom-light: #adb884; $custom-dark: #000000;
JSON
{
"hex": "#8a9b52",
"rgb": {
"r": 138,
"g": 155,
"b": 82
},
"hsl": {
"h": 73.973,
"s": 30.802,
"l": 46.471
},
"oklch": {
"l": 0.65913,
"c": 0.10004,
"h": 120
},
"luminance": 0.29455
}Semantic roles & 50–950 ramp
primary
#8A9B52
secondary
#9A91B8
accent
#61C779
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110B
muted
#7F807C