#34971D#34971D

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

Color values

HEX#34971D
RGBrgb(52, 151, 29)
HSLhsl(109, 68%, 35%)
HSVhsv(109, 81%, 59%)
CMYKcmyk(65.6%, 0%, 80.8%, 40.8%)
CIE-LABlab(55.02, -50.48, 51.20)
CIE-LCHlch(55.02, 71.90, 134.59°)
OKLaboklab(59.57% -0.1383 0.1139)
OKLCHoklch(59.57% 0.179 140.5)
XYZxyz(12.7039, 22.9507, 4.9226)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34971D #801D97
analogous
#71971D #34971D #1D9743
triadic
#34971D #1D3497 #971D34
tetradic
#34971D #1D7197 #801D97 #97431D
square
#34971D #1D7197 #801D97 #97431D
split-complementary
#34971D #431D97 #971D71
monochromatic
#113009 #226413 #34971D #46CA27 #6BDE51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34971D#FFFFFF#000000##000000
##34971D1.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: #34971d;
/* rgb */ color: rgb(52, 151, 29);
/* oklch */ color: oklch(59.6% 0.179 140.5);
Tailwind
colors: {
  custom: {
    50: '#79b764',
    500: '#34971d',
    950: '#000000',
  },
}
SCSS
$custom: #34971d;
$custom-light: #79b764;
$custom-dark: #000000;
JSON
{
  "hex": "#34971d",
  "rgb": {
    "r": 52,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 108.689,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.59567,
    "c": 0.17917,
    "h": 140.5
  },
  "luminance": 0.22952
}

Semantic roles & 50–950 ramp

primary
#34971D
secondary
#AB4FC0
accent
#3DEBCA
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #34971D

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

Preview Lab → · Contrast checker → · Palette generator →

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