#34872D#34872D

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

Color values

HEX#34872D
RGBrgb(52, 135, 45)
HSLhsl(115, 50%, 35%)
HSVhsv(115, 67%, 53%)
CMYKcmyk(61.5%, 0%, 66.7%, 47.1%)
CIE-LABlab(49.79, -43.28, 39.74)
CIE-LCHlch(49.79, 58.75, 137.44°)
OKLaboklab(55.28% -0.1179 0.092)
OKLCHoklch(55.28% 0.15 142)
XYZxyz(10.5533, 18.2465, 5.4479)
Luminance0.1825 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34872D #802D87
analogous
#61872D #34872D #2D8753
triadic
#34872D #2D3487 #872D34
tetradic
#34872D #2D6187 #802D87 #87532D
square
#34872D #2D6187 #802D87 #87532D
split-complementary
#34872D #532D87 #872D61
monochromatic
#112B0E #22591E #34872D #46B53C #6BCB63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34872D#FFFFFF#000000##000000
##34872D1.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)
#8A7B22
Deuteranopia (green-blind)
#807435
Tritanopia (blue-blind)
#268374
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #34872d;
/* rgb */ color: rgb(52, 135, 45);
/* oklch */ color: oklch(55.3% 0.150 142.0);
Tailwind
colors: {
  custom: {
    50: '#75ab6a',
    500: '#34872d',
    950: '#000000',
  },
}
SCSS
$custom: #34872d;
$custom-light: #75ab6a;
$custom-dark: #000000;
JSON
{
  "hex": "#34872d",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 115.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.55279,
    "c": 0.14961,
    "h": 142
  },
  "luminance": 0.18247
}

Semantic roles & 50–950 ramp

primary
#34872D
secondary
#AB5EB2
accent
#4EDACF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #34872D

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

Preview Lab → · Contrast checker → · Palette generator →

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