#3F811F#3F811F
#3F811F is a mid, vivid green. Relative luminance 0.169; OKLCH L 53.9% C 0.146 H 137.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).
Color values
| HEX | #3F811F |
|---|---|
| RGB | rgb(63, 129, 31) |
| HSL | hsl(100, 61%, 31%) |
| HSV | hsv(100, 76%, 51%) |
| CMYK | cmyk(51.2%, 0%, 76%, 49.4%) |
| CIE-LAB | lab(48.08, -39.00, 43.91) |
| CIE-LCH | lch(48.08, 58.73, 131.61°) |
| OKLab | oklab(53.94% -0.108 0.0988) |
| OKLCH | oklch(53.94% 0.146 137.5) |
| XYZ | xyz(10.1471, 16.8555, 4.0148) |
| Luminance | 0.1686 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.15
Tree Green
#2A7E19
ΔE00 2.59
Green
#008000
ΔE00 4.37
Forestgreen (CSS)
#228B22
ΔE00 4.46
Avocado
#568203
ΔE00 5.34
Emerald Green
#028F1E
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F811F #611F81
analogous
#70811F #3F811F #1F8130
triadic
#3F811F #1F3F81 #811F3F
tetradic
#3F811F #1F7081 #611F81 #81301F
square
#3F811F #1F7081 #611F81 #81301F
split-complementary
#3F811F #301F81 #811F70
monochromatic
#0F1E07 #275013 #3F811F #57B22B #75D347
Accessibility & contrast
On white
4.80
#3F811F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#3F811F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3F811F
4.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F811F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3F811F | 1.00 | 4.80 | 4.37 | 4.80 |
| #FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#85760C
Deuteranopia (green-blind)
#7D7029
Tritanopia (blue-blind)
#3B7C6E
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #3f811f; /* rgb */ color: rgb(63, 129, 31); /* oklch */ color: oklch(53.9% 0.146 137.5);
Tailwind
colors: {
custom: {
50: '#7ba662',
500: '#3f811f',
950: '#000000',
},
}SCSS
$custom: #3f811f; $custom-light: #7ba662; $custom-dark: #000000;
JSON
{
"hex": "#3f811f",
"rgb": {
"r": 63,
"g": 129,
"b": 31
},
"hsl": {
"h": 100.408,
"s": 61.25,
"l": 31.373
},
"oklch": {
"l": 0.53941,
"c": 0.14638,
"h": 137.5
},
"luminance": 0.16856
}Semantic roles & 50–950 ramp
primary
#3F811F
secondary
#9148B4
accent
#43E4B0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A