#34872C#34872C

#34872C is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.3% C 0.150 H 141.9°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#34872C
RGBrgb(52, 135, 44)
HSLhsl(115, 51%, 35%)
HSVhsv(115, 67%, 53%)
CMYKcmyk(61.5%, 0%, 67.4%, 47.1%)
CIE-LABlab(49.78, -43.38, 40.18)
CIE-LCHlch(49.78, 59.13, 137.19°)
OKLaboklab(55.27% -0.1183 0.0928)
OKLCHoklch(55.27% 0.15 141.9)
XYZxyz(10.5342, 18.2389, 5.3477)
Luminance0.1824 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34872C #7F2C87
analogous
#62872C #34872C #2C8751
triadic
#34872C #2C3487 #872C34
tetradic
#34872C #2C6287 #7F2C87 #87512C
square
#34872C #2C6287 #7F2C87 #87512C
split-complementary
#34872C #512C87 #872C62
monochromatic
#102B0E #22591D #34872C #46B53B #6BCC62

Accessibility & contrast

On white

4.52
#34872C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#34872C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34872C
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34872C#FFFFFF#000000##000000
##34872C1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B20
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#278374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #34872c;
/* rgb */ color: rgb(52, 135, 44);
/* oklch */ color: oklch(55.3% 0.150 141.9);
Tailwind
colors: {
  custom: {
    50: '#75ab6a',
    500: '#34872c',
    950: '#000000',
  },
}
SCSS
$custom: #34872c;
$custom-light: #75ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#34872c",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 44
  },
  "hsl": {
    "h": 114.725,
    "s": 50.838,
    "l": 35.098
  },
  "oklch": {
    "l": 0.55268,
    "c": 0.15037,
    "h": 141.9
  },
  "luminance": 0.1824
}

Semantic roles & 50–950 ramp

primary
#34872C
secondary
#AA5DB2
accent
#4DDACE
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #34872C

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

Preview Lab → · Contrast checker → · Palette generator →

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