#3F8B1F#3F8B1F
#3F8B1F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.7% C 0.159 H 138.4°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #3F8B1F |
|---|---|
| RGB | rgb(63, 139, 31) |
| HSL | hsl(102, 64%, 33%) |
| HSV | hsv(102, 78%, 55%) |
| CMYK | cmyk(54.7%, 0%, 77.7%, 45.5%) |
| CIE-LAB | lab(51.40, -43.03, 47.19) |
| CIE-LCH | lch(51.40, 63.86, 132.36°) |
| OKLab | oklab(56.68% -0.1189 0.1057) |
| OKLCH | oklch(56.68% 0.159 138.4) |
| XYZ | xyz(11.5294, 19.6200, 4.4755) |
| Luminance | 0.1962 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.90
Emerald Green
#028F1E
ΔE00 3.92
Dark Grass Green
#388004
ΔE00 4.27
True Green
#089404
ΔE00 4.41
Sap Green
#5C8B15
ΔE00 5.04
Irish Green
#019529
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F8B1F #6B1F8B
analogous
#758B1F #3F8B1F #1F8B35
triadic
#3F8B1F #1F3F8B #8B1F3F
tetradic
#3F8B1F #1F758B #6B1F8B #8B351F
square
#3F8B1F #1F758B #6B1F8B #8B351F
split-complementary
#3F8B1F #351F8B #8B1F75
monochromatic
#122709 #285914 #3F8B1F #56BD2A #76D74D
Accessibility & contrast
On white
4.26
#3F8B1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#3F8B1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3F8B1F
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F8B1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3F8B1F | 1.00 | 4.26 | 4.92 | 4.92 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E06
Deuteranopia (green-blind)
#86782B
Tritanopia (blue-blind)
#388677
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #3f8b1f; /* rgb */ color: rgb(63, 139, 31); /* oklch */ color: oklch(56.7% 0.159 138.4);
Tailwind
colors: {
custom: {
50: '#7dad63',
500: '#3f8b1f',
950: '#000000',
},
}SCSS
$custom: #3f8b1f; $custom-light: #7dad63; $custom-dark: #000000;
JSON
{
"hex": "#3f8b1f",
"rgb": {
"r": 63,
"g": 139,
"b": 31
},
"hsl": {
"h": 102.222,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.56681,
"c": 0.15903,
"h": 138.4
},
"luminance": 0.19621
}Semantic roles & 50–950 ramp
primary
#3F8B1F
secondary
#994CBA
accent
#41E7B6
background
#F8FAF6
surface
#EFF4EB
border
#CACEC6
text
#0A1006
muted
#7C7F7A