#3D7D1F#3D7D1F
#3D7D1F is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.7% C 0.142 H 137.7°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #3D7D1F |
|---|---|
| RGB | rgb(61, 125, 31) |
| HSL | hsl(101, 60%, 31%) |
| HSV | hsv(101, 75%, 49%) |
| CMYK | cmyk(51.2%, 0%, 75.2%, 51%) |
| CIE-LAB | lab(46.65, -37.98, 42.46) |
| CIE-LCH | lch(46.65, 56.97, 131.82°) |
| OKLab | oklab(52.75% -0.1051 0.0958) |
| OKLCH | oklch(52.75% 0.142 137.7) |
| XYZ | xyz(9.5051, 15.7576, 3.8367) |
| Luminance | 0.1576 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.14
Dark Grass Green
#388004
ΔE00 2.60
Green
#008000
ΔE00 4.36
Forestgreen (CSS)
#228B22
ΔE00 5.52
Darkish Green
#287C37
ΔE00 5.53
Avocado
#568203
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#3D7D1F #5F1F7D
analogous
#6C7D1F #3D7D1F #1F7D30
triadic
#3D7D1F #1F3D7D #7D1F3D
tetradic
#3D7D1F #1F6C7D #5F1F7D #7D301F
square
#3D7D1F #1F6C7D #5F1F7D #7D301F
split-complementary
#3D7D1F #301F7D #7D1F6C
monochromatic
#0D1B07 #254C13 #3D7D1F #55AE2B #72D145
Accessibility & contrast
On white
5.06
#3D7D1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.15
#3D7D1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #3D7D1F
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##3D7D1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##3D7D1F | 1.00 | 5.06 | 4.15 | 5.06 |
| #FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#81720E
Deuteranopia (green-blind)
#796D28
Tritanopia (blue-blind)
#39786B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #3d7d1f; /* rgb */ color: rgb(61, 125, 31); /* oklch */ color: oklch(52.7% 0.142 137.7);
Tailwind
colors: {
custom: {
50: '#79a361',
500: '#3d7d1f',
950: '#000000',
},
}SCSS
$custom: #3d7d1f; $custom-light: #79a361; $custom-dark: #000000;
JSON
{
"hex": "#3d7d1f",
"rgb": {
"r": 61,
"g": 125,
"b": 31
},
"hsl": {
"h": 100.851,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.52748,
"c": 0.14222,
"h": 137.7
},
"luminance": 0.15758
}Semantic roles & 50–950 ramp
primary
#3D7D1F
secondary
#8F48B0
accent
#44E3B1
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A0F05
muted
#7C7F7A