#8CA162#8CA162
#8CA162 is a light, moderate yellow-green. Relative luminance 0.319; OKLCH L 67.7% C 0.090 H 123.8°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8CA162 |
|---|---|
| RGB | rgb(140, 161, 98) |
| HSL | hsl(80, 25%, 51%) |
| HSV | hsv(80, 39%, 63%) |
| CMYK | cmyk(13%, 0%, 39.1%, 36.9%) |
| CIE-LAB | lab(63.30, -18.21, 30.39) |
| CIE-LCH | lch(63.30, 35.43, 120.93°) |
| OKLab | oklab(67.72% -0.05 0.0746) |
| OKLCH | oklch(67.72% 0.09 123.8) |
| XYZ | xyz(25.7646, 31.9469, 16.3619) |
| Luminance | 0.3195 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 2.36
Moss
#769958
ΔE00 4.72
Sage
#87AE73
ΔE00 5.46
Drab Green
#749551
ΔE00 5.51
Camo
#7F8F4E
ΔE00 5.95
Dull Green
#74A662
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8CA162 #7762A1
analogous
#A19662 #8CA162 #6CA162
triadic
#8CA162 #628CA1 #A1628C
tetradic
#8CA162 #62A196 #7762A1 #A1626C
square
#8CA162 #62A196 #7762A1 #A1626C
split-complementary
#8CA162 #626CA1 #9662A1
monochromatic
#4A5533 #6B7C4A #8CA162 #A8B888 #C4CFAF
Accessibility & contrast
On white
2.84
#8CA162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.39
#8CA162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8CA162
7.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8CA162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8CA162 | 1.00 | 2.84 | 7.39 | 7.39 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89A5D
Deuteranopia (green-blind)
#A59965
Tritanopia (blue-blind)
#909B91
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #8ca162; /* rgb */ color: rgb(140, 161, 98); /* oklch */ color: oklch(67.7% 0.090 123.8);
Tailwind
colors: {
custom: {
50: '#aebc8f',
500: '#8ca162',
950: '#000000',
},
}SCSS
$custom: #8ca162; $custom-light: #aebc8f; $custom-dark: #000000;
JSON
{
"hex": "#8ca162",
"rgb": {
"r": 140,
"g": 161,
"b": 98
},
"hsl": {
"h": 80,
"s": 25.1,
"l": 50.784
},
"oklch": {
"l": 0.67722,
"c": 0.08982,
"h": 123.8
},
"luminance": 0.31947
}Semantic roles & 50–950 ramp
primary
#8CA162
secondary
#ABA1BD
accent
#66C285
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#10120C
muted
#7F817D