#34811C#34811C

#34811C is a mid, vivid green. Relative luminance 0.165; OKLCH L 53.5% C 0.154 H 139.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#34811C
RGBrgb(52, 129, 28)
HSLhsl(106, 64%, 31%)
HSVhsv(106, 78%, 51%)
CMYKcmyk(59.7%, 0%, 78.3%, 49.4%)
CIE-LABlab(47.64, -42.47, 44.44)
CIE-LCHlch(47.64, 61.48, 133.70°)
OKLaboklab(53.46% -0.1168 0.0996)
OKLCHoklch(53.46% 0.154 139.5)
XYZxyz(9.4756, 16.5136, 3.7865)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34811C #691C81
analogous
#66811C #34811C #1C8137
triadic
#34811C #1C3481 #811C34
tetradic
#34811C #1C6681 #691C81 #81371C
square
#34811C #1C6681 #691C81 #81371C
split-complementary
#34811C #371C81 #811C66
monochromatic
#0B1C06 #204F11 #34811C #48B327 #65D642

Accessibility & contrast

On white

4.88
#34811C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#34811C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34811C
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34811C#FFFFFF#000000##FFFFFF
##34811C1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857505
Deuteranopia (green-blind)
#7B6F27
Tritanopia (blue-blind)
#2B7D6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #34811c;
/* rgb */ color: rgb(52, 129, 28);
/* oklch */ color: oklch(53.5% 0.154 139.5);
Tailwind
colors: {
  custom: {
    50: '#75a660',
    500: '#34811c',
    950: '#000000',
  },
}
SCSS
$custom: #34811c;
$custom-light: #75a660;
$custom-dark: #000000;
JSON
{
  "hex": "#34811c",
  "rgb": {
    "r": 52,
    "g": 129,
    "b": 28
  },
  "hsl": {
    "h": 105.743,
    "s": 64.331,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53459,
    "c": 0.15351,
    "h": 139.5
  },
  "luminance": 0.16514
}

Semantic roles & 50–950 ramp

primary
#34811C
secondary
#9A44B4
accent
#40E7C0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #34811C

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

Preview Lab → · Contrast checker → · Palette generator →

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