#34972A#34972A

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

Color values

HEX#34972A
RGBrgb(52, 151, 42)
HSLhsl(114, 56%, 38%)
HSVhsv(114, 72%, 59%)
CMYKcmyk(65.6%, 0%, 72.2%, 40.8%)
CIE-LABlab(55.10, -49.52, 46.67)
CIE-LCHlch(55.10, 68.05, 136.70°)
OKLaboklab(59.66% -0.135 0.1062)
OKLCHoklch(59.66% 0.172 141.8)
XYZxyz(12.9000, 23.0292, 5.9553)
Luminance0.2303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34972A #8D2A97
analogous
#6B972A #34972A #2A9756
triadic
#34972A #2A3497 #972A34
tetradic
#34972A #2A6B97 #8D2A97 #97562A
square
#34972A #2A6B97 #8D2A97 #97562A
split-complementary
#34972A #562A97 #972A6B
monochromatic
#13370F #24671D #34972A #44C737 #71D567

Accessibility & contrast

On white

3.75
#34972A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##34972A#FFFFFF#000000##000000
##34972A1.003.755.615.61
#FFFFFF3.751.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8918
Deuteranopia (green-blind)
#8F8135
Tritanopia (blue-blind)
#219281
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #34972a;
/* rgb */ color: rgb(52, 151, 42);
/* oklch */ color: oklch(59.7% 0.172 141.8);
Tailwind
colors: {
  custom: {
    50: '#79b76a',
    500: '#34972a',
    950: '#000000',
  },
}
SCSS
$custom: #34972a;
$custom-light: #79b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#34972a",
  "rgb": {
    "r": 52,
    "g": 151,
    "b": 42
  },
  "hsl": {
    "h": 114.495,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.59659,
    "c": 0.17181,
    "h": 141.8
  },
  "luminance": 0.2303
}

Semantic roles & 50–950 ramp

primary
#34972A
secondary
#B362BB
accent
#48E0D2
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1107
muted
#7C807A

Preview Lab

Preview with #34972A

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

Preview Lab → · Contrast checker → · Palette generator →

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