#34972B#34972B

#34972B is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.7% C 0.171 H 141.9°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#34972B
RGBrgb(52, 151, 43)
HSLhsl(115, 56%, 38%)
HSVhsv(115, 72%, 59%)
CMYKcmyk(65.6%, 0%, 71.5%, 40.8%)
CIE-LABlab(55.11, -49.43, 46.28)
CIE-LCHlch(55.11, 67.72, 136.89°)
OKLaboklab(59.67% -0.1347 0.1056)
OKLCHoklch(59.67% 0.171 141.9)
XYZxyz(12.9181, 23.0364, 6.0507)
Luminance0.2304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34972B #8E2B97
analogous
#6A972B #34972B #2B9758
triadic
#34972B #2B3497 #972B34
tetradic
#34972B #2B6A97 #8E2B97 #97582B
square
#34972B #2B6A97 #8E2B97 #97582B
split-complementary
#34972B #582B97 #972B6A
monochromatic
#133810 #24671D #34972B #44C739 #71D468

Accessibility & contrast

On white

3.74
#34972B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#34972B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34972B
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34972B#FFFFFF#000000##000000
##34972B1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891A
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#219282
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #34972b;
/* rgb */ color: rgb(52, 151, 43);
/* oklch */ color: oklch(59.7% 0.171 141.9);
Tailwind
colors: {
  custom: {
    50: '#79b66b',
    500: '#34972b',
    950: '#000000',
  },
}
SCSS
$custom: #34972b;
$custom-light: #79b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#34972b",
  "rgb": {
    "r": 52,
    "g": 151,
    "b": 43
  },
  "hsl": {
    "h": 115,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.59668,
    "c": 0.17115,
    "h": 141.9
  },
  "luminance": 0.23038
}

Semantic roles & 50–950 ramp

primary
#34972B
secondary
#B363BB
accent
#49DFD2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #34972B

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

Preview Lab → · Contrast checker → · Palette generator →

#34972B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva