#34972E#34972E

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

Color values

HEX#34972E
RGBrgb(52, 151, 46)
HSLhsl(117, 53%, 39%)
HSVhsv(117, 70%, 59%)
CMYKcmyk(65.6%, 0%, 69.5%, 40.8%)
CIE-LABlab(55.13, -49.16, 45.08)
CIE-LCHlch(55.13, 66.70, 137.48°)
OKLaboklab(59.7% -0.1338 0.1034)
OKLCHoklch(59.7% 0.169 142.3)
XYZxyz(12.9752, 23.0592, 6.3513)
Luminance0.2306 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34972E #912E97
analogous
#68972E #34972E #2E975C
triadic
#34972E #2E3497 #972E34
tetradic
#34972E #2E6897 #912E97 #975C2E
square
#34972E #2E6897 #912E97 #975C2E
split-complementary
#34972E #5C2E97 #972E68
monochromatic
#143911 #246820 #34972E #46C43E #73D26D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34972E#FFFFFF#000000##000000
##34972E1.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)
#9A891F
Deuteranopia (green-blind)
#8F8138
Tritanopia (blue-blind)
#209282
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #34972e;
/* rgb */ color: rgb(52, 151, 46);
/* oklch */ color: oklch(59.7% 0.169 142.3);
Tailwind
colors: {
  custom: {
    50: '#79b66c',
    500: '#34972e',
    950: '#000000',
  },
}
SCSS
$custom: #34972e;
$custom-light: #79b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#34972e",
  "rgb": {
    "r": 52,
    "g": 151,
    "b": 46
  },
  "hsl": {
    "h": 116.571,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.59695,
    "c": 0.16912,
    "h": 142.3
  },
  "luminance": 0.23061
}

Semantic roles & 50–950 ramp

primary
#34972E
secondary
#B567BA
accent
#4BDDD4
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #34972E

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

Preview Lab → · Contrast checker → · Palette generator →

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