#3F8E1F#3F8E1F
#3F8E1F is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.5% C 0.163 H 138.6°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #3F8E1F |
|---|---|
| RGB | rgb(63, 142, 31) |
| HSL | hsl(103, 64%, 34%) |
| HSV | hsv(103, 78%, 56%) |
| CMYK | cmyk(55.6%, 0%, 78.2%, 44.3%) |
| CIE-LAB | lab(52.40, -44.20, 48.16) |
| CIE-LCH | lch(52.40, 65.37, 132.54°) |
| OKLab | oklab(57.5% -0.122 0.1077) |
| OKLCH | oklch(57.5% 0.163 138.6) |
| XYZ | xyz(11.9698, 20.5007, 4.6223) |
| Luminance | 0.2050 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 3.17
True Green
#089404
ΔE00 3.75
Emerald Green
#028F1E
ΔE00 3.76
Irish Green
#019529
ΔE00 4.54
Grass Green
#3F9B0B
ΔE00 4.77
Sap Green
#5C8B15
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3F8E1F #6E1F8E
analogous
#778E1F #3F8E1F #1F8E37
triadic
#3F8E1F #1F3F8E #8E1F3F
tetradic
#3F8E1F #1F778E #6E1F8E #8E371F
square
#3F8E1F #1F778E #6E1F8E #8E371F
split-complementary
#3F8E1F #371F8E #8E1F77
monochromatic
#122A09 #295C14 #3F8E1F #55C02A #77D94F
Accessibility & contrast
On white
4.12
#3F8E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.10
#3F8E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #3F8E1F
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3F8E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##3F8E1F | 1.00 | 4.12 | 5.10 | 5.10 |
| #FFFFFF | 4.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928104
Deuteranopia (green-blind)
#887B2B
Tritanopia (blue-blind)
#388979
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #3f8e1f; /* rgb */ color: rgb(63, 142, 31); /* oklch */ color: oklch(57.5% 0.163 138.6);
Tailwind
colors: {
custom: {
50: '#7db064',
500: '#3f8e1f',
950: '#000000',
},
}SCSS
$custom: #3f8e1f; $custom-light: #7db064; $custom-dark: #000000;
JSON
{
"hex": "#3f8e1f",
"rgb": {
"r": 63,
"g": 142,
"b": 31
},
"hsl": {
"h": 102.703,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.57501,
"c": 0.16273,
"h": 138.6
},
"luminance": 0.20502
}Semantic roles & 50–950 ramp
primary
#3F8E1F
secondary
#9C4DBB
accent
#41E7B7
background
#F8FAF6
surface
#EFF5EB
border
#CACFC6
text
#0A1006
muted
#7C7F7A