#8CA151#8CA151
#8CA151 is a light, moderate yellow-green. Relative luminance 0.317; OKLCH L 67.5% C 0.109 H 121.5°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8CA151 |
|---|---|
| RGB | rgb(140, 161, 81) |
| HSL | hsl(76, 33%, 47%) |
| HSV | hsv(76, 50%, 63%) |
| CMYK | cmyk(13%, 0%, 49.7%, 36.9%) |
| CIE-LAB | lab(63.06, -20.22, 38.92) |
| CIE-LCH | lch(63.06, 43.86, 117.46°) |
| OKLab | oklab(67.45% -0.0569 0.0928) |
| OKLCH | oklch(67.45% 0.109 121.5) |
| XYZ | xyz(25.0454, 31.6593, 12.5744) |
| Luminance | 0.3166 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 3.59
Moss
#769958
ΔE00 5.95
Camo
#7F8F4E
ΔE00 6.11
Drab Green
#749551
ΔE00 6.12
Asparagus
#77AB56
ΔE00 6.38
Avocado Green
#87A922
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8CA151 #6651A1
analogous
#A18E51 #8CA151 #64A151
triadic
#8CA151 #518CA1 #A1518C
tetradic
#8CA151 #51A18E #6651A1 #A15164
square
#8CA151 #51A18E #6651A1 #A15164
split-complementary
#8CA151 #5164A1 #8E51A1
monochromatic
#455028 #69783D #8CA151 #A8BA75 #C2CE9E
Accessibility & contrast
On white
2.86
#8CA151 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.33
#8CA151 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8CA151
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8CA151 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8CA151 | 1.00 | 2.86 | 7.33 | 7.33 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A9994A
Deuteranopia (green-blind)
#A79955
Tritanopia (blue-blind)
#929A8F
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #8ca151; /* rgb */ color: rgb(140, 161, 81); /* oklch */ color: oklch(67.5% 0.109 121.5);
Tailwind
colors: {
custom: {
50: '#afbc84',
500: '#8ca151',
950: '#000000',
},
}SCSS
$custom: #8ca151; $custom-light: #afbc84; $custom-dark: #000000;
JSON
{
"hex": "#8ca151",
"rgb": {
"r": 140,
"g": 161,
"b": 81
},
"hsl": {
"h": 75.75,
"s": 33.058,
"l": 47.451
},
"oklch": {
"l": 0.67453,
"c": 0.10884,
"h": 121.5
},
"luminance": 0.31659
}Semantic roles & 50–950 ramp
primary
#8CA151
secondary
#9D93BB
accent
#5FC97B
background
#FAFBF8
surface
#F5F6EF
border
#CFD0CA
text
#10120B
muted
#7F817C