#34871A#34871A

#34871A is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.162 H 139.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#34871A
RGBrgb(52, 135, 26)
HSLhsl(106, 68%, 32%)
HSVhsv(106, 81%, 53%)
CMYKcmyk(61.5%, 0%, 80.7%, 47.1%)
CIE-LABlab(49.66, -44.88, 47.07)
CIE-LCHlch(49.66, 65.04, 133.63°)
OKLaboklab(55.12% -0.1234 0.1048)
OKLCHoklch(55.12% 0.162 139.7)
XYZxyz(10.2661, 18.1317, 3.9358)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34871A #6D1A87
analogous
#6B871A #34871A #1A8737
triadic
#34871A #1A3487 #871A34
tetradic
#34871A #1A6B87 #6D1A87 #87371A
square
#34871A #1A6B87 #6D1A87 #87371A
split-complementary
#34871A #371A87 #871A6B
monochromatic
#0C2006 #205410 #34871A #48BA24 #66DA41

Accessibility & contrast

On white

4.54
#34871A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#34871A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34871A
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34871A#FFFFFF#000000##000000
##34871A1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#817427
Tritanopia (blue-blind)
#2A8273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #34871a;
/* rgb */ color: rgb(52, 135, 26);
/* oklch */ color: oklch(55.1% 0.162 139.7);
Tailwind
colors: {
  custom: {
    50: '#76ab60',
    500: '#34871a',
    950: '#000000',
  },
}
SCSS
$custom: #34871a;
$custom-light: #76ab60;
$custom-dark: #000000;
JSON
{
  "hex": "#34871a",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 105.688,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.5512,
    "c": 0.16189,
    "h": 139.7
  },
  "luminance": 0.18133
}

Semantic roles & 50–950 ramp

primary
#34871A
secondary
#9E42BA
accent
#3DEBC1
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #34871A

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

Preview Lab → · Contrast checker → · Palette generator →

#34871A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva