#34811B#34811B

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

Color values

HEX#34811B
RGBrgb(52, 129, 27)
HSLhsl(105, 65%, 31%)
HSVhsv(105, 79%, 51%)
CMYKcmyk(59.7%, 0%, 79.1%, 49.4%)
CIE-LABlab(47.64, -42.54, 44.79)
CIE-LCHlch(47.64, 61.78, 133.52°)
OKLaboklab(53.45% -0.117 0.1002)
OKLCHoklch(53.45% 0.154 139.4)
XYZxyz(9.4639, 16.5089, 3.7245)
Luminance0.1651 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34811B #681B81
analogous
#67811B #34811B #1B8135
triadic
#34811B #1B3481 #811B34
tetradic
#34811B #1B6781 #681B81 #81351B
square
#34811B #1B6781 #681B81 #81351B
split-complementary
#34811B #351B81 #811B67
monochromatic
#0B1C06 #204E10 #34811B #48B426 #65D73F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34811B#FFFFFF#000000##FFFFFF
##34811B1.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)
#857503
Deuteranopia (green-blind)
#7B6F26
Tritanopia (blue-blind)
#2B7C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #34811b;
/* rgb */ color: rgb(52, 129, 27);
/* oklch */ color: oklch(53.5% 0.154 139.4);
Tailwind
colors: {
  custom: {
    50: '#75a660',
    500: '#34811b',
    950: '#000000',
  },
}
SCSS
$custom: #34811b;
$custom-light: #75a660;
$custom-dark: #000000;
JSON
{
  "hex": "#34811b",
  "rgb": {
    "r": 52,
    "g": 129,
    "b": 27
  },
  "hsl": {
    "h": 105.294,
    "s": 65.385,
    "l": 30.588
  },
  "oklch": {
    "l": 0.53452,
    "c": 0.15408,
    "h": 139.4
  },
  "luminance": 0.1651
}

Semantic roles & 50–950 ramp

primary
#34811B
secondary
#9943B5
accent
#3FE8BF
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #34811B

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

Preview Lab → · Contrast checker → · Palette generator →

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