#5F862F#5F862F
#5F862F is a mid, vivid yellow-green. Relative luminance 0.197; OKLCH L 57.2% C 0.124 H 130.1°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #5F862F |
|---|---|
| RGB | rgb(95, 134, 47) |
| HSL | hsl(87, 48%, 35%) |
| HSV | hsv(87, 65%, 53%) |
| CMYK | cmyk(29.1%, 0%, 64.9%, 47.5%) |
| CIE-LAB | lab(51.48, -28.35, 41.25) |
| CIE-LCH | lch(51.48, 50.05, 124.50°) |
| OKLab | oklab(57.21% -0.0799 0.095) |
| OKLCH | oklch(57.21% 0.124 130.1) |
| XYZ | xyz(13.7574, 19.6880, 5.7641) |
| Luminance | 0.1969 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Moss Green (survey)
#658B38
ΔE00 2.10
Mossy Green
#638B27
ΔE00 2.50
Swamp
#698339
ΔE00 2.95
Sap Green
#5C8B15
ΔE00 3.68
Dirty Green
#667E2C
ΔE00 3.80
Avocado
#568203
ΔE00 4.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5F862F #562F86
analogous
#86812F #5F862F #33862F
triadic
#5F862F #2F5F86 #862F5F
tetradic
#5F862F #2F8681 #562F86 #862F33
square
#5F862F #2F8681 #562F86 #862F33
split-complementary
#5F862F #2F3386 #812F86
monochromatic
#1F2B0F #3F591F #5F862F #7FB33F #9DC966
Accessibility & contrast
On white
4.25
#5F862F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.94
#5F862F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #5F862F
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5F862F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##5F862F | 1.00 | 4.25 | 4.94 | 4.94 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7D24
Deuteranopia (green-blind)
#877A36
Tritanopia (blue-blind)
#618074
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #5f862f; /* rgb */ color: rgb(95, 134, 47); /* oklch */ color: oklch(57.2% 0.124 130.1);
Tailwind
colors: {
custom: {
50: '#8fa96c',
500: '#5f862f',
950: '#000000',
},
}SCSS
$custom: #5f862f; $custom-light: #8fa96c; $custom-dark: #000000;
JSON
{
"hex": "#5f862f",
"rgb": {
"r": 95,
"g": 134,
"b": 47
},
"hsl": {
"h": 86.897,
"s": 48.066,
"l": 35.49
},
"oklch": {
"l": 0.5721,
"c": 0.12412,
"h": 130.1
},
"luminance": 0.19688
}Semantic roles & 50–950 ramp
primary
#5F862F
secondary
#8460B0
accent
#50D88D
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1007
muted
#7E7F7A