#34871E#34871E

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

Color values

HEX#34871E
RGBrgb(52, 135, 30)
HSLhsl(107, 64%, 32%)
HSVhsv(107, 78%, 53%)
CMYKcmyk(61.5%, 0%, 77.8%, 47.1%)
CIE-LABlab(49.68, -44.61, 45.73)
CIE-LCHlch(49.68, 63.88, 134.29°)
OKLaboklab(55.15% -0.1224 0.1026)
OKLCHoklch(55.15% 0.16 140)
XYZxyz(10.3140, 18.1508, 4.1880)
Luminance0.1815 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34871E #711E87
analogous
#68871E #34871E #1E873D
triadic
#34871E #1E3487 #871E34
tetradic
#34871E #1E6887 #711E87 #873D1E
square
#34871E #1E6887 #711E87 #873D1E
split-complementary
#34871E #3D1E87 #871E68
monochromatic
#0D2308 #215513 #34871E #47B929 #67D749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34871E#FFFFFF#000000##000000
##34871E1.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)
#8B7A06
Deuteranopia (green-blind)
#817429
Tritanopia (blue-blind)
#298273
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #34871e;
/* rgb */ color: rgb(52, 135, 30);
/* oklch */ color: oklch(55.1% 0.160 140.0);
Tailwind
colors: {
  custom: {
    50: '#76ab62',
    500: '#34871e',
    950: '#000000',
  },
}
SCSS
$custom: #34871e;
$custom-light: #76ab62;
$custom-dark: #000000;
JSON
{
  "hex": "#34871e",
  "rgb": {
    "r": 52,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 107.429,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.55147,
    "c": 0.15974,
    "h": 140
  },
  "luminance": 0.18152
}

Semantic roles & 50–950 ramp

primary
#34871E
secondary
#A148B9
accent
#41E7C4
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#091005
muted
#7B7F7A

Preview Lab

Preview with #34871E

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

Preview Lab → · Contrast checker → · Palette generator →

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