#34972F#34972F

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

Color values

HEX#34972F
RGBrgb(52, 151, 47)
HSLhsl(117, 53%, 39%)
HSVhsv(117, 69%, 59%)
CMYKcmyk(65.6%, 0%, 68.9%, 40.8%)
CIE-LABlab(55.14, -49.06, 44.67)
CIE-LCHlch(55.14, 66.35, 137.68°)
OKLaboklab(59.7% -0.1335 0.1027)
OKLCHoklch(59.7% 0.168 142.4)
XYZxyz(12.9951, 23.0672, 6.4564)
Luminance0.2307 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34972F #922F97
analogous
#68972F #34972F #2F975E
triadic
#34972F #2F3497 #972F34
tetradic
#34972F #2F6897 #922F97 #975E2F
square
#34972F #2F6897 #922F97 #975E2F
split-complementary
#34972F #5E2F97 #972F68
monochromatic
#143A12 #246820 #34972F #46C340 #73D26E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34972F#FFFFFF#000000##000000
##34972F1.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)
#9A8921
Deuteranopia (green-blind)
#8E8139
Tritanopia (blue-blind)
#209282
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #34972f;
/* rgb */ color: rgb(52, 151, 47);
/* oklch */ color: oklch(59.7% 0.168 142.4);
Tailwind
colors: {
  custom: {
    50: '#79b66d',
    500: '#34972f',
    950: '#000000',
  },
}
SCSS
$custom: #34972f;
$custom-light: #79b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#34972f",
  "rgb": {
    "r": 52,
    "g": 151,
    "b": 47
  },
  "hsl": {
    "h": 117.115,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.59704,
    "c": 0.16841,
    "h": 142.4
  },
  "luminance": 0.23069
}

Semantic roles & 50–950 ramp

primary
#34972F
secondary
#B568B9
accent
#4CDCD5
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #34972F

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

Preview Lab → · Contrast checker → · Palette generator →

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