#34771E#34771E

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

Color values

HEX#34771E
RGBrgb(52, 119, 30)
HSLhsl(105, 60%, 29%)
HSVhsv(105, 75%, 47%)
CMYKcmyk(56.3%, 0%, 74.8%, 53.3%)
CIE-LABlab(44.26, -38.37, 40.31)
CIE-LCHlch(44.26, 55.65, 133.59°)
OKLaboklab(50.67% -0.1056 0.0913)
OKLCHoklch(50.67% 0.14 139.2)
XYZxyz(8.2470, 14.0168, 3.4990)
Luminance0.1402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34771E #611E77
analogous
#61771E #34771E #1E7735
triadic
#34771E #1E3477 #771E34
tetradic
#34771E #1E6177 #611E77 #77351E
square
#34771E #1E6177 #611E77 #77351E
split-complementary
#34771E #351E77 #771E61
monochromatic
#0B1806 #1F4612 #34771E #49A82A #64CF40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34771E#FFFFFF#000000##FFFFFF
##34771E1.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)
#7B6C0F
Deuteranopia (green-blind)
#726727
Tritanopia (blue-blind)
#2D7366
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #34771e;
/* rgb */ color: rgb(52, 119, 30);
/* oklch */ color: oklch(50.7% 0.140 139.2);
Tailwind
colors: {
  custom: {
    50: '#739f60',
    500: '#34771e',
    950: '#000000',
  },
}
SCSS
$custom: #34771e;
$custom-light: #739f60;
$custom-dark: #000000;
JSON
{
  "hex": "#34771e",
  "rgb": {
    "r": 52,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 105.169,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.50671,
    "c": 0.13959,
    "h": 139.2
  },
  "luminance": 0.14017
}

Semantic roles & 50–950 ramp

primary
#34771E
secondary
#9246AB
accent
#45E3BC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #34771E

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

Preview Lab → · Contrast checker → · Palette generator →

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