#34871C#34871C

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

Color values

HEX#34871C
RGBrgb(52, 135, 28)
HSLhsl(107, 66%, 32%)
HSVhsv(107, 79%, 53%)
CMYKcmyk(61.5%, 0%, 79.3%, 47.1%)
CIE-LABlab(49.67, -44.75, 46.41)
CIE-LCHlch(49.67, 64.47, 133.95°)
OKLaboklab(55.13% -0.1229 0.1037)
OKLCHoklch(55.13% 0.161 139.8)
XYZxyz(10.2893, 18.1409, 4.0577)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34871C #6F1C87
analogous
#6A871C #34871C #1C873A
triadic
#34871C #1C3487 #871C34
tetradic
#34871C #1C6A87 #6F1C87 #873A1C
square
#34871C #1C6A87 #6F1C87 #873A1C
split-complementary
#34871C #3A1C87 #871C6A
monochromatic
#0D2207 #205411 #34871C #48BA27 #66D845

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34871C#FFFFFF#000000##000000
##34871C1.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)
#8B7A01
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#298273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #34871c;
/* rgb */ color: rgb(52, 135, 28);
/* oklch */ color: oklch(55.1% 0.161 139.8);
Tailwind
colors: {
  custom: {
    50: '#76ab61',
    500: '#34871c',
    950: '#000000',
  },
}
SCSS
$custom: #34871c;
$custom-light: #76ab61;
$custom-dark: #000000;
JSON
{
  "hex": "#34871c",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 28
  },
  "hsl": {
    "h": 106.542,
    "s": 65.644,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55133,
    "c": 0.16085,
    "h": 139.8
  },
  "luminance": 0.18142
}

Semantic roles & 50–950 ramp

primary
#34871C
secondary
#A045BA
accent
#3FE9C3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #34871C

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

Preview Lab → · Contrast checker → · Palette generator →

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