#3A971F#3A971F

#3A971F is a mid, vivid green. Relative luminance 0.231; OKLCH L 59.8% C 0.176 H 139.9°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#3A971F
RGBrgb(58, 151, 31)
HSLhsl(107, 66%, 36%)
HSVhsv(107, 79%, 59%)
CMYKcmyk(61.6%, 0%, 79.5%, 40.8%)
CIE-LABlab(55.21, -48.92, 50.81)
CIE-LCHlch(55.21, 70.53, 133.92°)
OKLaboklab(59.77% -0.1344 0.1133)
OKLCHoklch(59.77% 0.176 139.9)
XYZxyz(13.0583, 23.1305, 5.0725)
Luminance0.2313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A971F #7C1F97
analogous
#76971F #3A971F #1F9740
triadic
#3A971F #1F3A97 #971F3A
tetradic
#3A971F #1F7697 #7C1F97 #97401F
square
#3A971F #1F7697 #7C1F97 #97401F
split-complementary
#3A971F #401F97 #971F76
monochromatic
#13310A #266415 #3A971F #4ECA29 #73DC54

Accessibility & contrast

On white

3.73
#3A971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#3A971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A971F
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A971F#FFFFFF#000000##000000
##3A971F1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a971f;
/* rgb */ color: rgb(58, 151, 31);
/* oklch */ color: oklch(59.8% 0.176 139.9);
Tailwind
colors: {
  custom: {
    50: '#7cb665',
    500: '#3a971f',
    950: '#000000',
  },
}
SCSS
$custom: #3a971f;
$custom-light: #7cb665;
$custom-dark: #000000;
JSON
{
  "hex": "#3a971f",
  "rgb": {
    "r": 58,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 106.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59772,
    "c": 0.17577,
    "h": 139.9
  },
  "luminance": 0.23132
}

Semantic roles & 50–950 ramp

primary
#3A971F
secondary
#A752BF
accent
#3FE9C3
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3A971F

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

Preview Lab → · Contrast checker → · Palette generator →

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