#3D971F#3D971F

#3D971F is a mid, vivid green. Relative luminance 0.232; OKLCH L 59.9% C 0.174 H 139.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#3D971F
RGBrgb(61, 151, 31)
HSLhsl(105, 66%, 36%)
HSVhsv(105, 79%, 59%)
CMYKcmyk(59.6%, 0%, 79.5%, 40.8%)
CIE-LABlab(55.30, -48.16, 50.93)
CIE-LCHlch(55.30, 70.09, 133.40°)
OKLaboklab(59.88% -0.1325 0.1135)
OKLCHoklch(59.88% 0.174 139.4)
XYZxyz(13.2378, 23.2231, 5.0810)
Luminance0.2322 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D971F #791F97
analogous
#79971F #3D971F #1F973D
triadic
#3D971F #1F3D97 #971F3D
tetradic
#3D971F #1F7997 #791F97 #973D1F
square
#3D971F #1F7997 #791F97 #973D1F
split-complementary
#3D971F #3D1F97 #971F79
monochromatic
#14310A #286415 #3D971F #52CA29 #76DC54

Accessibility & contrast

On white

3.72
#3D971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#3D971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3D971F
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D971F#FFFFFF#000000##000000
##3D971F1.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#90822D
Tritanopia (blue-blind)
#329281
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #3d971f;
/* rgb */ color: rgb(61, 151, 31);
/* oklch */ color: oklch(59.9% 0.174 139.4);
Tailwind
colors: {
  custom: {
    50: '#7eb665',
    500: '#3d971f',
    950: '#000000',
  },
}
SCSS
$custom: #3d971f;
$custom-light: #7eb665;
$custom-dark: #000000;
JSON
{
  "hex": "#3d971f",
  "rgb": {
    "r": 61,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 105,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59878,
    "c": 0.17448,
    "h": 139.4
  },
  "luminance": 0.23224
}

Semantic roles & 50–950 ramp

primary
#3D971F
secondary
#A452BF
accent
#3FE9BE
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3D971F

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

Preview Lab → · Contrast checker → · Palette generator →

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