#34872A#34872A

#34872A is a mid, vivid green. Relative luminance 0.182; OKLCH L 55.2% C 0.152 H 141.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#34872A
RGBrgb(52, 135, 42)
HSLhsl(114, 53%, 35%)
HSVhsv(114, 69%, 53%)
CMYKcmyk(61.5%, 0%, 68.9%, 47.1%)
CIE-LABlab(49.77, -43.58, 41.04)
CIE-LCHlch(49.77, 59.87, 136.72°)
OKLaboklab(55.25% -0.119 0.0944)
OKLCHoklch(55.25% 0.152 141.6)
XYZxyz(10.4975, 18.2242, 5.1545)
Luminance0.1822 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34872A #7D2A87
analogous
#63872A #34872A #2A874E
triadic
#34872A #2A3487 #872A34
tetradic
#34872A #2A6387 #7D2A87 #874E2A
square
#34872A #2A6387 #7D2A87 #874E2A
split-complementary
#34872A #4E2A87 #872A63
monochromatic
#102A0D #22581B #34872A #46B639 #6ACD5E

Accessibility & contrast

On white

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

On black

4.64
#34872A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34872A
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34872A#FFFFFF#000000##000000
##34872A1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34872a;
/* rgb */ color: rgb(52, 135, 42);
/* oklch */ color: oklch(55.2% 0.152 141.6);
Tailwind
colors: {
  custom: {
    50: '#76ab68',
    500: '#34872a',
    950: '#000000',
  },
}
SCSS
$custom: #34872a;
$custom-light: #76ab68;
$custom-dark: #000000;
JSON
{
  "hex": "#34872a",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 42
  },
  "hsl": {
    "h": 113.548,
    "s": 52.542,
    "l": 34.706
  },
  "oklch": {
    "l": 0.55248,
    "c": 0.15188,
    "h": 141.6
  },
  "luminance": 0.18225
}

Semantic roles & 50–950 ramp

primary
#34872A
secondary
#A95AB3
accent
#4CDCCC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #34872A

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

Preview Lab → · Contrast checker → · Palette generator →

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