#3D841F#3D841F
#3D841F is a mid, vivid green. Relative luminance 0.176; OKLCH L 54.7% C 0.151 H 138.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #3D841F |
|---|---|
| RGB | rgb(61, 132, 31) |
| HSL | hsl(102, 62%, 32%) |
| HSV | hsv(102, 77%, 52%) |
| CMYK | cmyk(53.8%, 0%, 76.5%, 48.2%) |
| CIE-LAB | lab(49.00, -40.84, 44.80) |
| CIE-LCH | lch(49.00, 60.62, 132.35°) |
| OKLab | oklab(54.68% -0.1128 0.1007) |
| OKLCH | oklch(54.68% 0.151 138.3) |
| XYZ | xyz(10.4227, 17.5928, 4.1426) |
| Luminance | 0.1759 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Dark Grass Green
#388004
ΔE00 2.44
Tree Green
#2A7E19
ΔE00 3.00
Forestgreen (CSS)
#228B22
ΔE00 3.49
Green
#008000
ΔE00 4.32
Emerald Green
#028F1E
ΔE00 5.08
Avocado
#568203
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D841F #661F84
analogous
#70841F #3D841F #1F8434
triadic
#3D841F #1F3D84 #841F3D
tetradic
#3D841F #1F7084 #661F84 #84341F
square
#3D841F #1F7084 #661F84 #84341F
split-complementary
#3D841F #341F84 #841F70
monochromatic
#0F2108 #265213 #3D841F #54B62B #72D449
Accessibility & contrast
On white
4.65
#3D841F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#3D841F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #3D841F
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D841F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D841F | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#377F71
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #3d841f; /* rgb */ color: rgb(61, 132, 31); /* oklch */ color: oklch(54.7% 0.151 138.3);
Tailwind
colors: {
custom: {
50: '#7aa862',
500: '#3d841f',
950: '#000000',
},
}SCSS
$custom: #3d841f; $custom-light: #7aa862; $custom-dark: #000000;
JSON
{
"hex": "#3d841f",
"rgb": {
"r": 61,
"g": 132,
"b": 31
},
"hsl": {
"h": 102.178,
"s": 61.963,
"l": 31.961
},
"oklch": {
"l": 0.54677,
"c": 0.15123,
"h": 138.3
},
"luminance": 0.17594
}Semantic roles & 50–950 ramp
primary
#3D841F
secondary
#9648B7
accent
#43E5B5
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A