#8CA45F#8CA45F
#8CA45F is a light, moderate yellow-green. Relative luminance 0.330; OKLCH L 68.4% C 0.098 H 124.6°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #8CA45F |
|---|---|
| RGB | rgb(140, 164, 95) |
| HSL | hsl(81, 27%, 51%) |
| HSV | hsv(81, 42%, 64%) |
| CMYK | cmyk(14.6%, 0%, 42.1%, 35.7%) |
| CIE-LAB | lab(64.12, -20.13, 33.03) |
| CIE-LCH | lch(64.12, 38.68, 121.36°) |
| OKLab | oklab(68.37% -0.0555 0.0805) |
| OKLCH | oklch(68.37% 0.098 124.6) |
| XYZ | xyz(26.1561, 32.9524, 15.8067) |
| Luminance | 0.3295 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 3.33
Moss
#769958
ΔE00 5.04
Sage
#87AE73
ΔE00 5.17
Asparagus
#77AB56
ΔE00 5.52
Dull Green
#74A662
ΔE00 5.60
Drab Green
#749551
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8CA45F #775FA4
analogous
#A4995F #8CA45F #69A45F
triadic
#8CA45F #5F8CA4 #A45F8C
tetradic
#8CA45F #5FA499 #775FA4 #A45F69
square
#8CA45F #5FA499 #775FA4 #A45F69
split-complementary
#8CA45F #5F69A4 #995FA4
monochromatic
#4A5732 #6B7E48 #8CA45F #A8BA86 #C4D0AD
Accessibility & contrast
On white
2.77
#8CA45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.59
#8CA45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8CA45F
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8CA45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8CA45F | 1.00 | 2.77 | 7.59 | 7.59 |
| #FFFFFF | 2.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9C5A
Deuteranopia (green-blind)
#A89B63
Tritanopia (blue-blind)
#909E93
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #8ca45f; /* rgb */ color: rgb(140, 164, 95); /* oklch */ color: oklch(68.4% 0.098 124.6);
Tailwind
colors: {
custom: {
50: '#afbf8d',
500: '#8ca45f',
950: '#000000',
},
}SCSS
$custom: #8ca45f; $custom-light: #afbf8d; $custom-dark: #000000;
JSON
{
"hex": "#8ca45f",
"rgb": {
"r": 140,
"g": 164,
"b": 95
},
"hsl": {
"h": 80.87,
"s": 27.49,
"l": 50.784
},
"oklch": {
"l": 0.68367,
"c": 0.09783,
"h": 124.6
},
"luminance": 0.32953
}Semantic roles & 50–950 ramp
primary
#8CA45F
secondary
#ABA0BF
accent
#64C485
background
#FAFBF8
surface
#F4F7F0
border
#CED0CB
text
#10120C
muted
#7F817D