#8A9C52#8A9C52
#8A9C52 is a light, moderate yellow-green. Relative luminance 0.298; OKLCH L 66.1% C 0.101 H 120.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #8A9C52 |
|---|---|
| RGB | rgb(138, 156, 82) |
| HSL | hsl(75, 31%, 47%) |
| HSV | hsv(75, 47%, 61%) |
| CMYK | cmyk(11.5%, 0%, 47.4%, 38.8%) |
| CIE-LAB | lab(61.47, -18.37, 36.44) |
| CIE-LCH | lch(61.47, 40.81, 116.76°) |
| OKLab | oklab(66.15% -0.0515 0.0874) |
| OKLCH | oklch(66.15% 0.101 120.5) |
| XYZ | xyz(23.8928, 29.7895, 12.4722) |
| Luminance | 0.2979 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 2.15
Camo
#7F8F4E
ΔE00 4.45
Drab Green
#749551
ΔE00 5.20
Moss
#769958
ΔE00 5.26
Flat Green
#699D4C
ΔE00 7.15
Asparagus
#77AB56
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A9C52 #64529C
analogous
#9C8952 #8A9C52 #659C52
triadic
#8A9C52 #528A9C #9C528A
tetradic
#8A9C52 #529C89 #64529C #9C5265
square
#8A9C52 #529C89 #64529C #9C5265
split-complementary
#8A9C52 #52659C #89529C
monochromatic
#434C28 #67743D #8A9C52 #A6B675 #C0CB9D
Accessibility & contrast
On white
3.02
#8A9C52 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#8A9C52 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A9C52
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A9C52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A9C52 | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A4954C
Deuteranopia (green-blind)
#A29556
Tritanopia (blue-blind)
#90958B
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #8a9c52; /* rgb */ color: rgb(138, 156, 82); /* oklch */ color: oklch(66.1% 0.101 120.5);
Tailwind
colors: {
custom: {
50: '#adb984',
500: '#8a9c52',
950: '#000000',
},
}SCSS
$custom: #8a9c52; $custom-light: #adb984; $custom-dark: #000000;
JSON
{
"hex": "#8a9c52",
"rgb": {
"r": 138,
"g": 156,
"b": 82
},
"hsl": {
"h": 74.595,
"s": 31.092,
"l": 46.667
},
"oklch": {
"l": 0.66146,
"c": 0.10145,
"h": 120.5
},
"luminance": 0.29789
}Semantic roles & 50–950 ramp
primary
#8A9C52
secondary
#9B91B9
accent
#61C77A
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110B
muted
#7F807C