#34971B#34971B

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

Color values

HEX#34971B
RGBrgb(52, 151, 27)
HSLhsl(108, 70%, 35%)
HSVhsv(108, 82%, 59%)
CMYKcmyk(65.6%, 0%, 82.1%, 40.8%)
CIE-LABlab(55.01, -50.60, 51.80)
CIE-LCHlch(55.01, 72.41, 134.33°)
OKLaboklab(59.56% -0.1387 0.1148)
OKLCHoklch(59.56% 0.18 140.4)
XYZxyz(12.6800, 22.9412, 4.7966)
Luminance0.2294 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34971B #7E1B97
analogous
#72971B #34971B #1B9740
triadic
#34971B #1B3497 #971B34
tetradic
#34971B #1B7297 #7E1B97 #97401B
square
#34971B #1B7297 #7E1B97 #97401B
split-complementary
#34971B #401B97 #971B72
monochromatic
#102F08 #226312 #34971B #46CB24 #6BDF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #34971b;
/* rgb */ color: rgb(52, 151, 27);
/* oklch */ color: oklch(59.6% 0.180 140.4);
Tailwind
colors: {
  custom: {
    50: '#79b763',
    500: '#34971b',
    950: '#000000',
  },
}
SCSS
$custom: #34971b;
$custom-light: #79b763;
$custom-dark: #000000;
JSON
{
  "hex": "#34971b",
  "rgb": {
    "r": 52,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 107.903,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59555,
    "c": 0.1801,
    "h": 140.4
  },
  "luminance": 0.22942
}

Semantic roles & 50–950 ramp

primary
#34971B
secondary
#AA4CC1
accent
#3BECC9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #34971B

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

Preview Lab → · Contrast checker → · Palette generator →

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