#3F871F#3F871F
#3F871F is a mid, vivid green. Relative luminance 0.185; OKLCH L 55.6% C 0.154 H 138.1°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #3F871F |
|---|---|
| RGB | rgb(63, 135, 31) |
| HSL | hsl(102, 63%, 33%) |
| HSV | hsv(102, 77%, 53%) |
| CMYK | cmyk(53.3%, 0%, 77%, 47.1%) |
| CIE-LAB | lab(50.08, -41.44, 45.89) |
| CIE-LCH | lch(50.08, 61.83, 132.08°) |
| OKLab | oklab(55.59% -0.1146 0.103) |
| OKLCH | oklch(55.59% 0.154 138.1) |
| XYZ | xyz(10.9608, 18.4828, 4.2860) |
| Luminance | 0.1848 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 3.10
Forestgreen (CSS)
#228B22
ΔE00 3.13
Tree Green
#2A7E19
ΔE00 4.01
Emerald Green
#028F1E
ΔE00 4.56
Green
#008000
ΔE00 4.96
Sap Green
#5C8B15
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F871F #671F87
analogous
#73871F #3F871F #1F8733
triadic
#3F871F #1F3F87 #871F3F
tetradic
#3F871F #1F7387 #671F87 #87331F
square
#3F871F #1F7387 #671F87 #87331F
split-complementary
#3F871F #331F87 #871F73
monochromatic
#112308 #285514 #3F871F #56B92A #76D64B
Accessibility & contrast
On white
4.47
#3F871F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#3F871F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3F871F
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F871F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3F871F | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8B7B08
Deuteranopia (green-blind)
#82752A
Tritanopia (blue-blind)
#398273
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #3f871f; /* rgb */ color: rgb(63, 135, 31); /* oklch */ color: oklch(55.6% 0.154 138.1);
Tailwind
colors: {
custom: {
50: '#7cab63',
500: '#3f871f',
950: '#000000',
},
}SCSS
$custom: #3f871f; $custom-light: #7cab63; $custom-dark: #000000;
JSON
{
"hex": "#3f871f",
"rgb": {
"r": 63,
"g": 135,
"b": 31
},
"hsl": {
"h": 101.538,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.55587,
"c": 0.15404,
"h": 138.1
},
"luminance": 0.18484
}Semantic roles & 50–950 ramp
primary
#3F871F
secondary
#964AB8
accent
#42E6B3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1006
muted
#7C7F7A