#8CA152#8CA152
#8CA152 is a light, moderate yellow-green. Relative luminance 0.317; OKLCH L 67.5% C 0.108 H 121.6°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #8CA152 |
|---|---|
| RGB | rgb(140, 161, 82) |
| HSL | hsl(76, 33%, 48%) |
| HSV | hsv(76, 49%, 63%) |
| CMYK | cmyk(13%, 0%, 49.1%, 36.9%) |
| CIE-LAB | lab(63.07, -20.12, 38.43) |
| CIE-LCH | lch(63.07, 43.37, 117.63°) |
| OKLab | oklab(67.47% -0.0565 0.0918) |
| OKLCH | oklch(67.47% 0.108 121.6) |
| XYZ | xyz(25.0832, 31.6744, 12.7733) |
| Luminance | 0.3167 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 3.45
Moss
#769958
ΔE00 5.84
Drab Green
#749551
ΔE00 6.03
Camo
#7F8F4E
ΔE00 6.05
Asparagus
#77AB56
ΔE00 6.34
Avocado Green
#87A922
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8CA152 #6752A1
analogous
#A18E52 #8CA152 #65A152
triadic
#8CA152 #528CA1 #A1528C
tetradic
#8CA152 #52A18E #6752A1 #A15265
square
#8CA152 #52A18E #6752A1 #A15265
split-complementary
#8CA152 #5265A1 #8E52A1
monochromatic
#455029 #69783D #8CA152 #A8BA77 #C2CE9F
Accessibility & contrast
On white
2.86
#8CA152 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.33
#8CA152 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8CA152
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8CA152 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8CA152 | 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)
#A9994B
Deuteranopia (green-blind)
#A69956
Tritanopia (blue-blind)
#929A8F
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #8ca152; /* rgb */ color: rgb(140, 161, 82); /* oklch */ color: oklch(67.5% 0.108 121.6);
Tailwind
colors: {
custom: {
50: '#afbc84',
500: '#8ca152',
950: '#000000',
},
}SCSS
$custom: #8ca152; $custom-light: #afbc84; $custom-dark: #000000;
JSON
{
"hex": "#8ca152",
"rgb": {
"r": 140,
"g": 161,
"b": 82
},
"hsl": {
"h": 75.949,
"s": 32.51,
"l": 47.647
},
"oklch": {
"l": 0.67467,
"c": 0.10778,
"h": 121.6
},
"luminance": 0.31674
}Semantic roles & 50–950 ramp
primary
#8CA152
secondary
#9E93BB
accent
#5FC97B
background
#FAFBF8
surface
#F5F6EF
border
#CFD0CA
text
#10120B
muted
#7F817C