#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
RGBrgb(61, 125, 31)
HSLhsl(101, 60%, 31%)
HSVhsv(101, 75%, 49%)
CMYKcmyk(51.2%, 0%, 75.2%, 51%)
CIE-LABlab(46.65, -37.98, 42.46)
CIE-LCHlch(46.65, 56.97, 131.82°)
OKLaboklab(52.75% -0.1051 0.0958)
OKLCHoklch(52.75% 0.142 137.7)
XYZxyz(9.5051, 15.7576, 3.8367)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

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
##3D7D1F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.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

Preview Lab

Preview with #3D7D1F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#3D7D1F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva