#34971F#34971F

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

Color values

HEX#34971F
RGBrgb(52, 151, 31)
HSLhsl(110, 66%, 36%)
HSVhsv(110, 79%, 59%)
CMYKcmyk(65.6%, 0%, 79.5%, 40.8%)
CIE-LABlab(55.03, -50.36, 50.58)
CIE-LCHlch(55.03, 71.37, 134.87°)
OKLaboklab(59.58% -0.1379 0.1129)
OKLCHoklch(59.58% 0.178 140.7)
XYZxyz(12.7295, 22.9609, 5.0571)
Luminance0.2296 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34971F #821F97
analogous
#70971F #34971F #1F9746
triadic
#34971F #1F3497 #971F34
tetradic
#34971F #1F7097 #821F97 #97461F
square
#34971F #1F7097 #821F97 #97461F
split-complementary
#34971F #461F97 #971F70
monochromatic
#11310A #236415 #34971F #45CA29 #6CDC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34971F#FFFFFF#000000##000000
##34971F1.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)
#8F812D
Tritanopia (blue-blind)
#239281
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #34971f;
/* rgb */ color: rgb(52, 151, 31);
/* oklch */ color: oklch(59.6% 0.178 140.7);
Tailwind
colors: {
  custom: {
    50: '#79b765',
    500: '#34971f',
    950: '#000000',
  },
}
SCSS
$custom: #34971f;
$custom-light: #79b765;
$custom-dark: #000000;
JSON
{
  "hex": "#34971f",
  "rgb": {
    "r": 52,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 109.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59579,
    "c": 0.17818,
    "h": 140.7
  },
  "luminance": 0.22962
}

Semantic roles & 50–950 ramp

primary
#34971F
secondary
#AC52BF
accent
#3FE9CB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #34971F

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

Preview Lab → · Contrast checker → · Palette generator →

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