#34872B#34872B

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

Color values

HEX#34872B
RGBrgb(52, 135, 43)
HSLhsl(114, 52%, 35%)
HSVhsv(114, 68%, 53%)
CMYKcmyk(61.5%, 0%, 68.1%, 47.1%)
CIE-LABlab(49.78, -43.48, 40.61)
CIE-LCHlch(49.78, 59.50, 136.96°)
OKLaboklab(55.26% -0.1186 0.0936)
OKLCHoklch(55.26% 0.151 141.7)
XYZxyz(10.5157, 18.2315, 5.2499)
Luminance0.1823 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34872B #7E2B87
analogous
#62872B #34872B #2B8750
triadic
#34872B #2B3487 #872B34
tetradic
#34872B #2B6287 #7E2B87 #87502B
square
#34872B #2B6287 #7E2B87 #87502B
split-complementary
#34872B #502B87 #872B62
monochromatic
#102A0D #22591C #34872B #46B53A #6BCC60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34872B#FFFFFF#000000##000000
##34872B1.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)
#8A7B1F
Deuteranopia (green-blind)
#807433
Tritanopia (blue-blind)
#278374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #34872b;
/* rgb */ color: rgb(52, 135, 43);
/* oklch */ color: oklch(55.3% 0.151 141.7);
Tailwind
colors: {
  custom: {
    50: '#75ab69',
    500: '#34872b',
    950: '#000000',
  },
}
SCSS
$custom: #34872b;
$custom-light: #75ab69;
$custom-dark: #000000;
JSON
{
  "hex": "#34872b",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 114.13,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.55258,
    "c": 0.15113,
    "h": 141.7
  },
  "luminance": 0.18232
}

Semantic roles & 50–950 ramp

primary
#34872B
secondary
#AA5BB2
accent
#4DDBCD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #34872B

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

Preview Lab → · Contrast checker → · Palette generator →

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