#3A971A#3A971A

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

Color values

HEX#3A971A
RGBrgb(58, 151, 26)
HSLhsl(105, 71%, 35%)
HSVhsv(105, 83%, 59%)
CMYKcmyk(61.6%, 0%, 82.8%, 40.8%)
CIE-LABlab(55.18, -49.22, 52.31)
CIE-LCHlch(55.18, 71.83, 133.26°)
OKLaboklab(59.74% -0.1354 0.1157)
OKLCHoklch(59.74% 0.178 139.5)
XYZxyz(12.9974, 23.1061, 4.7521)
Luminance0.2311 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A971A #771A97
analogous
#79971A #3A971A #1A9739
triadic
#3A971A #1A3A97 #971A3A
tetradic
#3A971A #1A7997 #771A97 #97391A
square
#3A971A #1A7997 #771A97 #97391A
split-complementary
#3A971A #391A97 #971A79
monochromatic
#122F08 #266311 #3A971A #4ECB23 #71E04B

Accessibility & contrast

On white

3.74
#3A971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#3A971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #3A971A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A971A#FFFFFF#000000##000000
##3A971A1.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)
#90812A
Tritanopia (blue-blind)
#2E9280
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #3a971a;
/* rgb */ color: rgb(58, 151, 26);
/* oklch */ color: oklch(59.7% 0.178 139.5);
Tailwind
colors: {
  custom: {
    50: '#7cb663',
    500: '#3a971a',
    950: '#000000',
  },
}
SCSS
$custom: #3a971a;
$custom-light: #7cb663;
$custom-dark: #000000;
JSON
{
  "hex": "#3a971a",
  "rgb": {
    "r": 58,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 104.64,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59744,
    "c": 0.17813,
    "h": 139.5
  },
  "luminance": 0.23107
}

Semantic roles & 50–950 ramp

primary
#3A971A
secondary
#A34BC2
accent
#3AEDC0
background
#F8FBF6
surface
#EFF6EB
border
#CAD0C6
text
#0B1106
muted
#7C807A

Preview Lab

Preview with #3A971A

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

Preview Lab → · Contrast checker → · Palette generator →

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