#34872E#34872E

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

Color values

HEX#34872E
RGBrgb(52, 135, 46)
HSLhsl(116, 49%, 35%)
HSVhsv(116, 66%, 53%)
CMYKcmyk(61.5%, 0%, 65.9%, 47.1%)
CIE-LABlab(49.80, -43.17, 39.30)
CIE-LCHlch(49.80, 58.38, 137.69°)
OKLaboklab(55.29% -0.1176 0.0912)
OKLCHoklch(55.29% 0.149 142.2)
XYZxyz(10.5727, 18.2543, 5.5505)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34872E #812E87
analogous
#60872E #34872E #2E8754
triadic
#34872E #2E3487 #872E34
tetradic
#34872E #2E6087 #812E87 #87542E
square
#34872E #2E6087 #812E87 #87542E
split-complementary
#34872E #542E87 #872E60
monochromatic
#112C0F #22591E #34872E #46B53E #6CCA65

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34872E#FFFFFF#000000##000000
##34872E1.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)
#8A7B23
Deuteranopia (green-blind)
#807436
Tritanopia (blue-blind)
#268374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #34872e;
/* rgb */ color: rgb(52, 135, 46);
/* oklch */ color: oklch(55.3% 0.149 142.2);
Tailwind
colors: {
  custom: {
    50: '#75ab6b',
    500: '#34872e',
    950: '#000000',
  },
}
SCSS
$custom: #34872e;
$custom-light: #75ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#34872e",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 46
  },
  "hsl": {
    "h": 115.955,
    "s": 49.171,
    "l": 35.49
  },
  "oklch": {
    "l": 0.55289,
    "c": 0.14882,
    "h": 142.2
  },
  "luminance": 0.18255
}

Semantic roles & 50–950 ramp

primary
#34872E
secondary
#AC60B1
accent
#4FD9CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #34872E

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

Preview Lab → · Contrast checker → · Palette generator →

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