#8A9C51#8A9C51
#8A9C51 is a light, moderate yellow-green. Relative luminance 0.298; OKLCH L 66.1% C 0.103 H 120.4°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #8A9C51 |
|---|---|
| RGB | rgb(138, 156, 81) |
| HSL | hsl(74, 32%, 46%) |
| HSV | hsv(74, 48%, 61%) |
| CMYK | cmyk(11.5%, 0%, 48.1%, 38.8%) |
| CIE-LAB | lab(61.46, -18.48, 36.94) |
| CIE-LCH | lch(61.46, 41.30, 116.58°) |
| OKLab | oklab(66.13% -0.0519 0.0885) |
| OKLCH | oklch(66.13% 0.103 120.4) |
| XYZ | xyz(23.8550, 29.7743, 12.2733) |
| Luminance | 0.2977 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 2.33
Camo
#7F8F4E
ΔE00 4.51
Drab Green
#749551
ΔE00 5.27
Moss
#769958
ΔE00 5.37
Flat Green
#699D4C
ΔE00 7.17
Asparagus
#77AB56
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A9C51 #63519C
analogous
#9C8951 #8A9C51 #659C51
triadic
#8A9C51 #518A9C #9C518A
tetradic
#8A9C51 #519C89 #63519C #9C5165
square
#8A9C51 #519C89 #63519C #9C5165
split-complementary
#8A9C51 #51659C #89519C
monochromatic
#434B27 #66743C #8A9C51 #A7B774 #C0CC9C
Accessibility & contrast
On white
3.02
#8A9C51 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.95
#8A9C51 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8A9C51
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A9C51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8A9C51 | 1.00 | 3.02 | 6.95 | 6.95 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A4954B
Deuteranopia (green-blind)
#A29555
Tritanopia (blue-blind)
#90958A
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #8a9c51; /* rgb */ color: rgb(138, 156, 81); /* oklch */ color: oklch(66.1% 0.103 120.4);
Tailwind
colors: {
custom: {
50: '#adb983',
500: '#8a9c51',
950: '#000000',
},
}SCSS
$custom: #8a9c51; $custom-light: #adb983; $custom-dark: #000000;
JSON
{
"hex": "#8a9c51",
"rgb": {
"r": 138,
"g": 156,
"b": 81
},
"hsl": {
"h": 74.4,
"s": 31.646,
"l": 46.471
},
"oklch": {
"l": 0.66132,
"c": 0.10254,
"h": 120.4
},
"luminance": 0.29774
}Semantic roles & 50–950 ramp
primary
#8A9C51
secondary
#9A90B8
accent
#60C879
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10110B
muted
#7F807C