#34971C#34971C

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

Color values

HEX#34971C
RGBrgb(52, 151, 28)
HSLhsl(108, 69%, 35%)
HSVhsv(108, 81%, 59%)
CMYKcmyk(65.6%, 0%, 81.5%, 40.8%)
CIE-LABlab(55.02, -50.54, 51.50)
CIE-LCHlch(55.02, 72.16, 134.46°)
OKLaboklab(59.56% -0.1385 0.1144)
OKLCHoklch(59.56% 0.18 140.5)
XYZxyz(12.6918, 22.9459, 4.8585)
Luminance0.2295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34971C #7F1C97
analogous
#71971C #34971C #1C9742
triadic
#34971C #1C3497 #971C34
tetradic
#34971C #1C7197 #7F1C97 #97421C
square
#34971C #1C7197 #7F1C97 #97421C
split-complementary
#34971C #421C97 #971C71
monochromatic
#103009 #226312 #34971C #46CB26 #6BDE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34971C#FFFFFF#000000##000000
##34971C1.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)
#8F812B
Tritanopia (blue-blind)
#249280
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #34971c;
/* rgb */ color: rgb(52, 151, 28);
/* oklch */ color: oklch(59.6% 0.180 140.5);
Tailwind
colors: {
  custom: {
    50: '#79b763',
    500: '#34971c',
    950: '#000000',
  },
}
SCSS
$custom: #34971c;
$custom-light: #79b763;
$custom-dark: #000000;
JSON
{
  "hex": "#34971c",
  "rgb": {
    "r": 52,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 108.293,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59561,
    "c": 0.17964,
    "h": 140.5
  },
  "luminance": 0.22947
}

Semantic roles & 50–950 ramp

primary
#34971C
secondary
#AA4EC1
accent
#3CECC9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #34971C

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

Preview Lab → · Contrast checker → · Palette generator →

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