#8CA166#8CA166
#8CA166 is a light, moderate yellow-green. Relative luminance 0.320; OKLCH L 67.8% C 0.085 H 124.6°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8CA166 |
|---|---|
| RGB | rgb(140, 161, 102) |
| HSL | hsl(81, 24%, 52%) |
| HSV | hsv(81, 37%, 63%) |
| CMYK | cmyk(13%, 0%, 36.6%, 36.9%) |
| CIE-LAB | lab(63.36, -17.68, 28.34) |
| CIE-LCH | lch(63.36, 33.40, 121.96°) |
| OKLab | oklab(67.79% -0.0482 0.07) |
| OKLCH | oklch(67.79% 0.085 124.6) |
| XYZ | xyz(25.9582, 32.0244, 17.3816) |
| Luminance | 0.3202 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 2.71
Moss
#769958
ΔE00 4.78
Sage
#87AE73
ΔE00 5.13
Drab Green
#749551
ΔE00 5.69
Dull Green
#74A662
ΔE00 5.94
Camo
#7F8F4E
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8CA166 #7B66A1
analogous
#A19966 #8CA166 #6FA166
triadic
#8CA166 #668CA1 #A1668C
tetradic
#8CA166 #66A199 #7B66A1 #A1666F
square
#8CA166 #66A199 #7B66A1 #A1666F
split-complementary
#8CA166 #666FA1 #9966A1
monochromatic
#4B5736 #6C7D4D #8CA166 #A8B88C #C5D0B2
Accessibility & contrast
On white
2.84
#8CA166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.40
#8CA166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8CA166
7.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8CA166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8CA166 | 1.00 | 2.84 | 7.40 | 7.40 |
| #FFFFFF | 2.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A79A62
Deuteranopia (green-blind)
#A49969
Tritanopia (blue-blind)
#909C92
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #8ca166; /* rgb */ color: rgb(140, 161, 102); /* oklch */ color: oklch(67.8% 0.085 124.6);
Tailwind
colors: {
custom: {
50: '#aebc92',
500: '#8ca166',
950: '#000000',
},
}SCSS
$custom: #8ca166; $custom-light: #aebc92; $custom-dark: #000000;
JSON
{
"hex": "#8ca166",
"rgb": {
"r": 140,
"g": 161,
"b": 102
},
"hsl": {
"h": 81.356,
"s": 23.887,
"l": 51.569
},
"oklch": {
"l": 0.67794,
"c": 0.08505,
"h": 124.6
},
"luminance": 0.32024
}Semantic roles & 50–950 ramp
primary
#8CA166
secondary
#AEA4BE
accent
#67C087
background
#FAFBF9
surface
#F4F6F1
border
#CED0CB
text
#10120D
muted
#7F817E