#8AA151#8AA151
#8AA151 is a light, moderate yellow-green. Relative luminance 0.315; OKLCH L 67.3% C 0.110 H 122.6°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8AA151 |
|---|---|
| RGB | rgb(138, 161, 81) |
| HSL | hsl(77, 33%, 47%) |
| HSV | hsv(77, 50%, 63%) |
| CMYK | cmyk(14.3%, 0%, 49.7%, 36.9%) |
| CIE-LAB | lab(62.92, -21.04, 38.71) |
| CIE-LCH | lch(62.92, 44.05, 118.52°) |
| OKLab | oklab(67.3% -0.059 0.0924) |
| OKLCH | oklch(67.3% 0.11 122.6) |
| XYZ | xyz(24.7114, 31.4870, 12.5587) |
| Luminance | 0.3149 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 3.61
Moss
#769958
ΔE00 5.55
Drab Green
#749551
ΔE00 5.76
Asparagus
#77AB56
ΔE00 5.94
Camo
#7F8F4E
ΔE00 6.06
Flat Green
#699D4C
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8AA151 #6851A1
analogous
#A19051 #8AA151 #62A151
triadic
#8AA151 #518AA1 #A1518A
tetradic
#8AA151 #51A190 #6851A1 #A15162
square
#8AA151 #51A190 #6851A1 #A15162
split-complementary
#8AA151 #5162A1 #9051A1
monochromatic
#445028 #67783D #8AA151 #A6BA75 #C0CE9E
Accessibility & contrast
On white
2.88
#8AA151 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.30
#8AA151 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8AA151
7.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8AA151 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8AA151 | 1.00 | 2.88 | 7.30 | 7.30 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A9994A
Deuteranopia (green-blind)
#A69856
Tritanopia (blue-blind)
#909A8F
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #8aa151; /* rgb */ color: rgb(138, 161, 81); /* oklch */ color: oklch(67.3% 0.110 122.6);
Tailwind
colors: {
custom: {
50: '#aebc84',
500: '#8aa151',
950: '#000000',
},
}SCSS
$custom: #8aa151; $custom-light: #aebc84; $custom-dark: #000000;
JSON
{
"hex": "#8aa151",
"rgb": {
"r": 138,
"g": 161,
"b": 81
},
"hsl": {
"h": 77.25,
"s": 33.058,
"l": 47.451
},
"oklch": {
"l": 0.67301,
"c": 0.10963,
"h": 122.6
},
"luminance": 0.31487
}Semantic roles & 50–950 ramp
primary
#8AA151
secondary
#9E93BB
accent
#5FC97D
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#10120B
muted
#7F817C