#3F971F#3F971F

#3F971F is a mid, vivid green. Relative luminance 0.233; OKLCH L 60.0% C 0.174 H 139.1°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#3F971F
RGBrgb(63, 151, 31)
HSLhsl(104, 66%, 36%)
HSVhsv(104, 79%, 59%)
CMYKcmyk(58.3%, 0%, 79.5%, 40.8%)
CIE-LABlab(55.37, -47.63, 51.02)
CIE-LCHlch(55.37, 69.79, 133.03°)
OKLaboklab(59.95% -0.1312 0.1137)
OKLCHoklch(59.95% 0.174 139.1)
XYZxyz(13.3633, 23.2878, 5.0868)
Luminance0.2329 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F971F #771F97
analogous
#7B971F #3F971F #1F973B
triadic
#3F971F #1F3F97 #971F3F
tetradic
#3F971F #1F7B97 #771F97 #973B1F
square
#3F971F #1F7B97 #771F97 #973B1F
split-complementary
#3F971F #3B1F97 #971F7B
monochromatic
#15310A #2A6415 #3F971F #54CA29 #79DC54

Accessibility & contrast

On white

3.71
#3F971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#3F971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3F971F
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F971F#FFFFFF#000000##000000
##3F971F1.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#359281
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #3f971f;
/* rgb */ color: rgb(63, 151, 31);
/* oklch */ color: oklch(60.0% 0.174 139.1);
Tailwind
colors: {
  custom: {
    50: '#7fb665',
    500: '#3f971f',
    950: '#000000',
  },
}
SCSS
$custom: #3f971f;
$custom-light: #7fb665;
$custom-dark: #000000;
JSON
{
  "hex": "#3f971f",
  "rgb": {
    "r": 63,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 104,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59951,
    "c": 0.1736,
    "h": 139.1
  },
  "luminance": 0.23289
}

Semantic roles & 50–950 ramp

primary
#3F971F
secondary
#A252BF
accent
#3FE9BC
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3F971F

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

Preview Lab → · Contrast checker → · Palette generator →

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