#34871D#34871D

#34871D is a mid, vivid green. Relative luminance 0.181; OKLCH L 55.1% C 0.160 H 139.9°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#34871D
RGBrgb(52, 135, 29)
HSLhsl(107, 65%, 32%)
HSVhsv(107, 79%, 53%)
CMYKcmyk(61.5%, 0%, 78.5%, 47.1%)
CIE-LABlab(49.67, -44.68, 46.07)
CIE-LCHlch(49.67, 64.18, 134.12°)
OKLaboklab(55.14% -0.1227 0.1032)
OKLCHoklch(55.14% 0.16 139.9)
XYZxyz(10.3015, 18.1458, 4.1218)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34871D #701D87
analogous
#69871D #34871D #1D873B
triadic
#34871D #1D3487 #871D34
tetradic
#34871D #1D6987 #701D87 #873B1D
square
#34871D #1D6987 #701D87 #873B1D
split-complementary
#34871D #3B1D87 #871D69
monochromatic
#0D2207 #215512 #34871D #47B928 #66D747

Accessibility & contrast

On white

4.54
#34871D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#34871D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #34871D
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34871D#FFFFFF#000000##000000
##34871D1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A04
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#298273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #34871d;
/* rgb */ color: rgb(52, 135, 29);
/* oklch */ color: oklch(55.1% 0.160 139.9);
Tailwind
colors: {
  custom: {
    50: '#76ab62',
    500: '#34871d',
    950: '#000000',
  },
}
SCSS
$custom: #34871d;
$custom-light: #76ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#34871d",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 29
  },
  "hsl": {
    "h": 106.981,
    "s": 64.634,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5514,
    "c": 0.1603,
    "h": 139.9
  },
  "luminance": 0.18147
}

Semantic roles & 50–950 ramp

primary
#34871D
secondary
#A046B9
accent
#40E8C3
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #34871D

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

Preview Lab → · Contrast checker → · Palette generator →

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