#34872F#34872F

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

Color values

HEX#34872F
RGBrgb(52, 135, 47)
HSLhsl(117, 48%, 36%)
HSVhsv(117, 65%, 53%)
CMYKcmyk(61.5%, 0%, 65.2%, 47.1%)
CIE-LABlab(49.81, -43.06, 38.85)
CIE-LCHlch(49.81, 57.99, 137.94°)
OKLaboklab(55.3% -0.1172 0.0904)
OKLCHoklch(55.3% 0.148 142.4)
XYZxyz(10.5927, 18.2623, 5.6555)
Luminance0.1826 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34872F #822F87
analogous
#60872F #34872F #2F8756
triadic
#34872F #2F3487 #872F34
tetradic
#34872F #2F6087 #822F87 #87562F
square
#34872F #2F6087 #822F87 #87562F
split-complementary
#34872F #562F87 #872F60
monochromatic
#112C0F #235A1F #34872F #45B43F #6CCA66

Accessibility & contrast

On white

4.51
#34872F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##34872F#FFFFFF#000000##000000
##34872F1.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B25
Deuteranopia (green-blind)
#807436
Tritanopia (blue-blind)
#268375
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #34872f;
/* rgb */ color: rgb(52, 135, 47);
/* oklch */ color: oklch(55.3% 0.148 142.4);
Tailwind
colors: {
  custom: {
    50: '#75ab6b',
    500: '#34872f',
    950: '#000000',
  },
}
SCSS
$custom: #34872f;
$custom-light: #75ab6b;
$custom-dark: #000000;
JSON
{
  "hex": "#34872f",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 47
  },
  "hsl": {
    "h": 116.591,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.553,
    "c": 0.14802,
    "h": 142.4
  },
  "luminance": 0.18263
}

Semantic roles & 50–950 ramp

primary
#34872F
secondary
#AC61B1
accent
#50D8D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #34872F

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

Preview Lab → · Contrast checker → · Palette generator →

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