#34771A#34771A

#34771A is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.142 H 138.7°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#34771A
RGBrgb(52, 119, 26)
HSLhsl(103, 64%, 28%)
HSVhsv(103, 78%, 47%)
CMYKcmyk(56.3%, 0%, 78.2%, 53.3%)
CIE-LABlab(44.23, -38.68, 41.82)
CIE-LCHlch(44.23, 56.97, 132.77°)
OKLaboklab(50.64% -0.1067 0.0939)
OKLCHoklch(50.64% 0.142 138.7)
XYZxyz(8.1991, 13.9976, 3.2468)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34771A #5D1A77
analogous
#62771A #34771A #1A772E
triadic
#34771A #1A3477 #771A34
tetradic
#34771A #1A6277 #5D1A77 #772E1A
square
#34771A #1A6277 #5D1A77 #772E1A
split-complementary
#34771A #2E1A77 #771A62
monochromatic
#0B1905 #1E450F #34771A #4AA925 #63D338

Accessibility & contrast

On white

5.53
#34771A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #34771A
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34771A#FFFFFF#000000##FFFFFF
##34771A1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #34771a;
/* rgb */ color: rgb(52, 119, 26);
/* oklch */ color: oklch(50.6% 0.142 138.7);
Tailwind
colors: {
  custom: {
    50: '#739f5e',
    500: '#34771a',
    950: '#000000',
  },
}
SCSS
$custom: #34771a;
$custom-light: #739f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#34771a",
  "rgb": {
    "r": 52,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 103.226,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5064,
    "c": 0.14212,
    "h": 138.7
  },
  "luminance": 0.13998
}

Semantic roles & 50–950 ramp

primary
#34771A
secondary
#8E41AC
accent
#41E7B9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #34771A

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

Preview Lab → · Contrast checker → · Palette generator →

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