#3D7A1F#3D7A1F

#3D7A1F is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.9% C 0.138 H 137.4°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#3D7A1F
RGBrgb(61, 122, 31)
HSLhsl(100, 59%, 30%)
HSVhsv(100, 75%, 48%)
CMYKcmyk(50%, 0%, 74.6%, 52.2%)
CIE-LABlab(45.65, -36.72, 41.44)
CIE-LCHlch(45.65, 55.37, 131.55°)
OKLaboklab(51.92% -0.1017 0.0937)
OKLCHoklch(51.92% 0.138 137.4)
XYZxyz(9.1310, 15.0095, 3.7120)
Luminance0.1501 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7A1F #5C1F7A
analogous
#6A7A1F #3D7A1F #1F7A2F
triadic
#3D7A1F #1F3D7A #7A1F3D
tetradic
#3D7A1F #1F6A7A #5C1F7A #7A2F1F
square
#3D7A1F #1F6A7A #5C1F7A #7A2F1F
split-complementary
#3D7A1F #2F1F7A #7A1F6A
monochromatic
#0C1806 #254913 #3D7A1F #55AB2B #72CF44

Accessibility & contrast

On white

5.25
#3D7A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#3D7A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7A1F
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7A1F#FFFFFF#000000##FFFFFF
##3D7A1F1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0F
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#397568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3d7a1f;
/* rgb */ color: rgb(61, 122, 31);
/* oklch */ color: oklch(51.9% 0.138 137.4);
Tailwind
colors: {
  custom: {
    50: '#79a161',
    500: '#3d7a1f',
    950: '#000000',
  },
}
SCSS
$custom: #3d7a1f;
$custom-light: #79a161;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7a1f",
  "rgb": {
    "r": 61,
    "g": 122,
    "b": 31
  },
  "hsl": {
    "h": 100.22,
    "s": 59.477,
    "l": 30
  },
  "oklch": {
    "l": 0.51919,
    "c": 0.13828,
    "h": 137.4
  },
  "luminance": 0.1501
}

Semantic roles & 50–950 ramp

primary
#3D7A1F
secondary
#8C47AD
accent
#45E3AF
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #3D7A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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