#34971E#34971E

#34971E is a mid, vivid green. Relative luminance 0.230; OKLCH L 59.6% C 0.179 H 140.6°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#34971E
RGBrgb(52, 151, 30)
HSLhsl(109, 67%, 35%)
HSVhsv(109, 80%, 59%)
CMYKcmyk(65.6%, 0%, 80.1%, 40.8%)
CIE-LABlab(55.03, -50.42, 50.89)
CIE-LCHlch(55.03, 71.64, 134.73°)
OKLaboklab(59.57% -0.1381 0.1134)
OKLCHoklch(59.57% 0.179 140.6)
XYZxyz(12.7165, 22.9558, 4.9888)
Luminance0.2296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34971E #811E97
analogous
#70971E #34971E #1E9744
triadic
#34971E #1E3497 #971E34
tetradic
#34971E #1E7097 #811E97 #97441E
square
#34971E #1E7097 #811E97 #97441E
split-complementary
#34971E #441E97 #971E70
monochromatic
#11310A #226414 #34971E #46CA28 #6CDD53

Accessibility & contrast

On white

3.76
#34971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#34971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34971E
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34971E#FFFFFF#000000##000000
##34971E1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#8F812C
Tritanopia (blue-blind)
#239281
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #34971e;
/* rgb */ color: rgb(52, 151, 30);
/* oklch */ color: oklch(59.6% 0.179 140.6);
Tailwind
colors: {
  custom: {
    50: '#79b764',
    500: '#34971e',
    950: '#000000',
  },
}
SCSS
$custom: #34971e;
$custom-light: #79b764;
$custom-dark: #000000;
JSON
{
  "hex": "#34971e",
  "rgb": {
    "r": 52,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 109.091,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59573,
    "c": 0.17867,
    "h": 140.6
  },
  "luminance": 0.22957
}

Semantic roles & 50–950 ramp

primary
#34971E
secondary
#AC51C0
accent
#3EEACB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #34971E

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

Preview Lab → · Contrast checker → · Palette generator →

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