#8FA266#8FA266
#8FA266 is a light, moderate yellow-green. Relative luminance 0.326; OKLCH L 68.3% C 0.085 H 123.0°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8FA266 |
|---|---|
| RGB | rgb(143, 162, 102) |
| HSL | hsl(79, 24%, 52%) |
| HSV | hsv(79, 37%, 64%) |
| CMYK | cmyk(11.7%, 0%, 37%, 36.5%) |
| CIE-LAB | lab(63.87, -17.02, 29.04) |
| CIE-LCH | lch(63.87, 33.66, 120.37°) |
| OKLab | oklab(68.25% -0.0465 0.0717) |
| OKLCH | oklch(68.25% 0.085 123) |
| XYZ | xyz(26.6462, 32.6396, 17.4641) |
| Luminance | 0.3264 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green
#8A9A5B
ΔE00 2.72
Moss
#769958
ΔE00 5.40
Sage
#87AE73
ΔE00 5.40
Drab Green
#749551
ΔE00 6.23
Camo
#7F8F4E
ΔE00 6.44
Dull Green
#74A662
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8FA266 #7966A2
analogous
#A29766 #8FA266 #71A266
triadic
#8FA266 #668FA2 #A2668F
tetradic
#8FA266 #66A297 #7966A2 #A26671
square
#8FA266 #66A297 #7966A2 #A26671
split-complementary
#8FA266 #6671A2 #9766A2
monochromatic
#4D5836 #6E7E4D #8FA266 #ABB98C #C7D0B2
Accessibility & contrast
On white
2.79
#8FA266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.53
#8FA266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #8FA266
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8FA266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8FA266 | 1.00 | 2.79 | 7.53 | 7.53 |
| #FFFFFF | 2.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A99B62
Deuteranopia (green-blind)
#A69B69
Tritanopia (blue-blind)
#939C93
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #8fa266; /* rgb */ color: rgb(143, 162, 102); /* oklch */ color: oklch(68.3% 0.085 123.0);
Tailwind
colors: {
custom: {
50: '#b0bd92',
500: '#8fa266',
950: '#000000',
},
}SCSS
$custom: #8fa266; $custom-light: #b0bd92; $custom-dark: #000000;
JSON
{
"hex": "#8fa266",
"rgb": {
"r": 143,
"g": 162,
"b": 102
},
"hsl": {
"h": 79,
"s": 24.39,
"l": 51.765
},
"oklch": {
"l": 0.68253,
"c": 0.0854,
"h": 123
},
"luminance": 0.3264
}Semantic roles & 50–950 ramp
primary
#8FA266
secondary
#ADA5BF
accent
#67C183
background
#FAFBF9
surface
#F5F6F1
border
#CFD0CB
text
#10120D
muted
#7F817E