#34771C#34771C

#34771C is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.7% C 0.141 H 138.9°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#34771C
RGBrgb(52, 119, 28)
HSLhsl(104, 62%, 29%)
HSVhsv(104, 76%, 47%)
CMYKcmyk(56.3%, 0%, 76.5%, 53.3%)
CIE-LABlab(44.24, -38.53, 41.08)
CIE-LCHlch(44.24, 56.32, 133.17°)
OKLaboklab(50.65% -0.1062 0.0926)
OKLCHoklch(50.65% 0.141 138.9)
XYZxyz(8.2223, 14.0069, 3.3687)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34771C #5F1C77
analogous
#62771C #34771C #1C7732
triadic
#34771C #1C3477 #771C34
tetradic
#34771C #1C6277 #5F1C77 #77321C
square
#34771C #1C6277 #5F1C77 #77321C
split-complementary
#34771C #321C77 #771C62
monochromatic
#0B1906 #1E4510 #34771C #4AA928 #64D13C

Accessibility & contrast

On white

5.52
#34771C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#34771C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34771C
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34771C#FFFFFF#000000##FFFFFF
##34771C1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C0B
Deuteranopia (green-blind)
#726625
Tritanopia (blue-blind)
#2E7365
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #34771c;
/* rgb */ color: rgb(52, 119, 28);
/* oklch */ color: oklch(50.7% 0.141 138.9);
Tailwind
colors: {
  custom: {
    50: '#739f5f',
    500: '#34771c',
    950: '#000000',
  },
}
SCSS
$custom: #34771c;
$custom-light: #739f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#34771c",
  "rgb": {
    "r": 52,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 104.176,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50655,
    "c": 0.14089,
    "h": 138.9
  },
  "luminance": 0.14008
}

Semantic roles & 50–950 ramp

primary
#34771C
secondary
#9044AB
accent
#43E5BA
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #34771C

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

Preview Lab → · Contrast checker → · Palette generator →

#34771C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva