#3F841F#3F841F
#3F841F is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.8% C 0.150 H 137.8°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #3F841F |
|---|---|
| RGB | rgb(63, 132, 31) |
| HSL | hsl(101, 62%, 32%) |
| HSV | hsv(101, 77%, 52%) |
| CMYK | cmyk(52.3%, 0%, 76.5%, 48.2%) |
| CIE-LAB | lab(49.08, -40.23, 44.90) |
| CIE-LCH | lch(49.08, 60.29, 131.86°) |
| OKLab | oklab(54.76% -0.1113 0.1009) |
| OKLCH | oklch(54.76% 0.15 137.8) |
| XYZ | xyz(10.5481, 17.6574, 4.1485) |
| Luminance | 0.1766 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.43
Tree Green
#2A7E19
ΔE00 3.19
Forestgreen (CSS)
#228B22
ΔE00 3.69
Green
#008000
ΔE00 4.54
Emerald Green
#028F1E
ΔE00 5.26
Avocado
#568203
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F841F #641F84
analogous
#72841F #3F841F #1F8432
triadic
#3F841F #1F3F84 #841F3F
tetradic
#3F841F #1F7284 #641F84 #84321F
square
#3F841F #1F7284 #641F84 #84321F
split-complementary
#3F841F #321F84 #841F72
monochromatic
#102108 #275213 #3F841F #57B62B #75D449
Accessibility & contrast
On white
4.63
#3F841F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#3F841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #3F841F
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F841F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F841F | 1.00 | 4.63 | 4.53 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#3A7F71
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #3f841f; /* rgb */ color: rgb(63, 132, 31); /* oklch */ color: oklch(54.8% 0.150 137.8);
Tailwind
colors: {
custom: {
50: '#7ba862',
500: '#3f841f',
950: '#000000',
},
}SCSS
$custom: #3f841f; $custom-light: #7ba862; $custom-dark: #000000;
JSON
{
"hex": "#3f841f",
"rgb": {
"r": 63,
"g": 132,
"b": 31
},
"hsl": {
"h": 100.99,
"s": 61.963,
"l": 31.961
},
"oklch": {
"l": 0.54764,
"c": 0.15024,
"h": 137.8
},
"luminance": 0.17658
}Semantic roles & 50–950 ramp
primary
#3F841F
secondary
#9448B7
accent
#43E5B2
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A