#8FA257#8FA257
#8FA257 is a light, moderate yellow-green. Relative luminance 0.324; OKLCH L 68.0% C 0.103 H 120.9°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).
Color values
| HEX | #8FA257 |
|---|---|
| RGB | rgb(143, 162, 87) |
| HSL | hsl(75, 30%, 49%) |
| HSV | hsv(75, 46%, 64%) |
| CMYK | cmyk(11.7%, 0%, 46.3%, 36.5%) |
| CIE-LAB | lab(63.65, -18.86, 36.63) |
| CIE-LCH | lch(63.65, 41.20, 117.24°) |
| OKLab | oklab(68% -0.0527 0.0881) |
| OKLCH | oklch(68% 0.103 120.9) |
| XYZ | xyz(25.9684, 32.3685, 13.8947) |
| Luminance | 0.3237 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 3.16
Moss
#769958
ΔE00 6.04
Camo
#7F8F4E
ΔE00 6.25
Drab Green
#749551
ΔE00 6.38
Asparagus
#77AB56
ΔE00 6.64
Khaki (survey)
#AAA662
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8FA257 #6A57A2
analogous
#A29057 #8FA257 #6AA257
triadic
#8FA257 #578FA2 #A2578F
tetradic
#8FA257 #57A290 #6A57A2 #A2576A
square
#8FA257 #57A290 #6A57A2 #A2576A
split-complementary
#8FA257 #576AA2 #9057A2
monochromatic
#49522C #6C7A42 #8FA257 #AAB97D #C4CFA5
Accessibility & contrast
On white
2.81
#8FA257 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.47
#8FA257 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8FA257
7.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8FA257 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8FA257 | 1.00 | 2.81 | 7.47 | 7.47 |
| #FFFFFF | 2.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AA9A51
Deuteranopia (green-blind)
#A89A5B
Tritanopia (blue-blind)
#959B90
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #8fa257; /* rgb */ color: rgb(143, 162, 87); /* oklch */ color: oklch(68.0% 0.103 120.9);
Tailwind
colors: {
custom: {
50: '#b1bd88',
500: '#8fa257',
950: '#000000',
},
}SCSS
$custom: #8fa257; $custom-light: #b1bd88; $custom-dark: #000000;
JSON
{
"hex": "#8fa257",
"rgb": {
"r": 143,
"g": 162,
"b": 87
},
"hsl": {
"h": 75.2,
"s": 30.12,
"l": 48.824
},
"oklch": {
"l": 0.68003,
"c": 0.10268,
"h": 120.9
},
"luminance": 0.32368
}Semantic roles & 50–950 ramp
primary
#8FA257
secondary
#A299BC
accent
#61C67B
background
#FBFBF8
surface
#F6F6F0
border
#D0D0CB
text
#11120B
muted
#80817C