#8BA151#8BA151
#8BA151 is a light, moderate yellow-green. Relative luminance 0.316; OKLCH L 67.4% C 0.109 H 122.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #8BA151 |
|---|---|
| RGB | rgb(139, 161, 81) |
| HSL | hsl(77, 33%, 47%) |
| HSV | hsv(77, 50%, 63%) |
| CMYK | cmyk(13.7%, 0%, 49.7%, 36.9%) |
| CIE-LAB | lab(62.99, -20.63, 38.81) |
| CIE-LCH | lch(62.99, 43.95, 117.99°) |
| OKLab | oklab(67.38% -0.058 0.0926) |
| OKLCH | oklch(67.38% 0.109 122) |
| XYZ | xyz(24.8776, 31.5728, 12.5665) |
| Luminance | 0.3157 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 3.59
Moss
#769958
ΔE00 5.75
Drab Green
#749551
ΔE00 5.93
Camo
#7F8F4E
ΔE00 6.08
Asparagus
#77AB56
ΔE00 6.16
Avocado Green
#87A922
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8BA151 #6751A1
analogous
#A18F51 #8BA151 #63A151
triadic
#8BA151 #518BA1 #A1518B
tetradic
#8BA151 #51A18F #6751A1 #A15163
square
#8BA151 #51A18F #6751A1 #A15163
split-complementary
#8BA151 #5163A1 #8F51A1
monochromatic
#455028 #68783D #8BA151 #A7BA75 #C1CE9E
Accessibility & contrast
On white
2.87
#8BA151 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#8BA151 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8BA151
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8BA151 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8BA151 | 1.00 | 2.87 | 7.31 | 7.31 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A9994A
Deuteranopia (green-blind)
#A69856
Tritanopia (blue-blind)
#919A8F
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #8ba151; /* rgb */ color: rgb(139, 161, 81); /* oklch */ color: oklch(67.4% 0.109 122.0);
Tailwind
colors: {
custom: {
50: '#aebc84',
500: '#8ba151',
950: '#000000',
},
}SCSS
$custom: #8ba151; $custom-light: #aebc84; $custom-dark: #000000;
JSON
{
"hex": "#8ba151",
"rgb": {
"r": 139,
"g": 161,
"b": 81
},
"hsl": {
"h": 76.5,
"s": 33.058,
"l": 47.451
},
"oklch": {
"l": 0.67377,
"c": 0.10923,
"h": 122
},
"luminance": 0.31573
}Semantic roles & 50–950 ramp
primary
#8BA151
secondary
#9E93BB
accent
#5FC97C
background
#FAFBF8
surface
#F5F6EF
border
#CFD0CA
text
#10120B
muted
#7F817C