#8FA45F#8FA45F
#8FA45F is a light, moderate yellow-green. Relative luminance 0.332; OKLCH L 68.6% C 0.097 H 122.8°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8FA45F |
|---|---|
| RGB | rgb(143, 164, 95) |
| HSL | hsl(78, 27%, 51%) |
| HSV | hsv(78, 42%, 64%) |
| CMYK | cmyk(12.8%, 0%, 42.1%, 35.7%) |
| CIE-LAB | lab(64.34, -18.94, 33.34) |
| CIE-LCH | lch(64.34, 38.35, 119.60°) |
| OKLab | oklab(68.59% -0.0523 0.0812) |
| OKLCH | oklch(68.59% 0.097 122.8) |
| XYZ | xyz(26.6687, 33.2167, 15.8308) |
| Luminance | 0.3322 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 3.17
Moss
#769958
ΔE00 5.62
Sage
#87AE73
ΔE00 5.68
Asparagus
#77AB56
ΔE00 6.16
Drab Green
#749551
ΔE00 6.31
Dull Green
#74A662
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8FA45F #745FA4
analogous
#A4965F #8FA45F #6CA45F
triadic
#8FA45F #5F8FA4 #A45F8F
tetradic
#8FA45F #5FA496 #745FA4 #A45F6C
square
#8FA45F #5FA496 #745FA4 #A45F6C
split-complementary
#8FA45F #5F6CA4 #965FA4
monochromatic
#4C5732 #6E7E48 #8FA45F #AABA86 #C6D0AD
Accessibility & contrast
On white
2.75
#8FA45F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.64
#8FA45F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8FA45F
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8FA45F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8FA45F | 1.00 | 2.75 | 7.64 | 7.64 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9C5A
Deuteranopia (green-blind)
#A99C63
Tritanopia (blue-blind)
#949E93
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #8fa45f; /* rgb */ color: rgb(143, 164, 95); /* oklch */ color: oklch(68.6% 0.097 122.8);
Tailwind
colors: {
custom: {
50: '#b1bf8d',
500: '#8fa45f',
950: '#000000',
},
}SCSS
$custom: #8fa45f; $custom-light: #b1bf8d; $custom-dark: #000000;
JSON
{
"hex": "#8fa45f",
"rgb": {
"r": 143,
"g": 164,
"b": 95
},
"hsl": {
"h": 78.261,
"s": 27.49,
"l": 50.784
},
"oklch": {
"l": 0.68592,
"c": 0.09661,
"h": 122.8
},
"luminance": 0.33217
}Semantic roles & 50–950 ramp
primary
#8FA45F
secondary
#A9A0BF
accent
#64C481
background
#FBFBF8
surface
#F6F7F0
border
#D0D0CB
text
#11120C
muted
#80817D