#39971F#39971F

#39971F is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.7% C 0.176 H 140.0°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#39971F
RGBrgb(57, 151, 31)
HSLhsl(107, 66%, 36%)
HSVhsv(107, 79%, 59%)
CMYKcmyk(62.3%, 0%, 79.5%, 40.8%)
CIE-LABlab(55.18, -49.17, 50.77)
CIE-LCHlch(55.18, 70.68, 134.09°)
OKLaboklab(59.74% -0.135 0.1132)
OKLCHoklch(59.74% 0.176 140)
XYZxyz(13.0007, 23.1008, 5.0698)
Luminance0.2310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#39971F #7D1F97
analogous
#75971F #39971F #1F9741
triadic
#39971F #1F3997 #971F39
tetradic
#39971F #1F7597 #7D1F97 #97411F
square
#39971F #1F7597 #7D1F97 #97411F
split-complementary
#39971F #411F97 #971F75
monochromatic
#13310A #266415 #39971F #4CCA29 #72DC54

Accessibility & contrast

On white

3.74
#39971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#39971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #39971F
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##39971F#FFFFFF#000000##000000
##39971F1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#90812D
Tritanopia (blue-blind)
#2C9281
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #39971f;
/* rgb */ color: rgb(57, 151, 31);
/* oklch */ color: oklch(59.7% 0.176 140.0);
Tailwind
colors: {
  custom: {
    50: '#7cb665',
    500: '#39971f',
    950: '#000000',
  },
}
SCSS
$custom: #39971f;
$custom-light: #7cb665;
$custom-dark: #000000;
JSON
{
  "hex": "#39971f",
  "rgb": {
    "r": 57,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 107,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59739,
    "c": 0.17618,
    "h": 140
  },
  "luminance": 0.23102
}

Semantic roles & 50–950 ramp

primary
#39971F
secondary
#A852BF
accent
#3FE9C4
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #39971F

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

Preview Lab → · Contrast checker → · Palette generator →

#39971F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva