#34972D#34972D

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

Color values

HEX#34972D
RGBrgb(52, 151, 45)
HSLhsl(116, 54%, 38%)
HSVhsv(116, 70%, 59%)
CMYKcmyk(65.6%, 0%, 70.2%, 40.8%)
CIE-LABlab(55.13, -49.25, 45.48)
CIE-LCHlch(55.13, 67.04, 137.28°)
OKLaboklab(59.69% -0.1341 0.1041)
OKLCHoklch(59.69% 0.17 142.2)
XYZxyz(12.9557, 23.0514, 6.2487)
Luminance0.2305 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34972D #902D97
analogous
#69972D #34972D #2D975B
triadic
#34972D #2D3497 #972D34
tetradic
#34972D #2D6997 #902D97 #975B2D
square
#34972D #2D6997 #902D97 #975B2D
split-complementary
#34972D #5B2D97 #972D69
monochromatic
#143911 #24681F #34972D #45C53C #72D36B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34972D#FFFFFF#000000##000000
##34972D1.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)
#9B891D
Deuteranopia (green-blind)
#8F8137
Tritanopia (blue-blind)
#209282
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #34972d;
/* rgb */ color: rgb(52, 151, 45);
/* oklch */ color: oklch(59.7% 0.170 142.2);
Tailwind
colors: {
  custom: {
    50: '#79b66c',
    500: '#34972d',
    950: '#000000',
  },
}
SCSS
$custom: #34972d;
$custom-light: #79b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#34972d",
  "rgb": {
    "r": 52,
    "g": 151,
    "b": 45
  },
  "hsl": {
    "h": 116.038,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.59686,
    "c": 0.16981,
    "h": 142.2
  },
  "luminance": 0.23053
}

Semantic roles & 50–950 ramp

primary
#34972D
secondary
#B466BA
accent
#4ADDD4
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #34972D

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

Preview Lab → · Contrast checker → · Palette generator →

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