#34812B#34812B

#34812B is a mid, vivid green. Relative luminance 0.166; OKLCH L 53.6% C 0.143 H 141.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#34812B
RGBrgb(52, 129, 43)
HSLhsl(114, 50%, 34%)
HSVhsv(114, 67%, 51%)
CMYKcmyk(59.7%, 0%, 66.7%, 49.4%)
CIE-LABlab(47.76, -41.14, 38.41)
CIE-LCHlch(47.76, 56.28, 136.97°)
OKLaboklab(53.59% -0.1123 0.089)
OKLCHoklch(53.59% 0.143 141.6)
XYZxyz(9.7020, 16.6041, 4.9787)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34812B #782B81
analogous
#5F812B #34812B #2B814D
triadic
#34812B #2B3481 #812B34
tetradic
#34812B #2B5F81 #782B81 #814D2B
square
#34812B #2B5F81 #782B81 #814D2B
split-complementary
#34812B #4D2B81 #812B5F
monochromatic
#0F250C #21531C #34812B #47AF3A #69C95D

Accessibility & contrast

On white

4.86
#34812B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#34812B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34812B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34812B#FFFFFF#000000##FFFFFF
##34812B1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847520
Deuteranopia (green-blind)
#7A6F32
Tritanopia (blue-blind)
#297D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #34812b;
/* rgb */ color: rgb(52, 129, 43);
/* oklch */ color: oklch(53.6% 0.143 141.6);
Tailwind
colors: {
  custom: {
    50: '#74a668',
    500: '#34812b',
    950: '#000000',
  },
}
SCSS
$custom: #34812b;
$custom-light: #74a668;
$custom-dark: #000000;
JSON
{
  "hex": "#34812b",
  "rgb": {
    "r": 52,
    "g": 129,
    "b": 43
  },
  "hsl": {
    "h": 113.721,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.53592,
    "c": 0.14326,
    "h": 141.6
  },
  "luminance": 0.16605
}

Semantic roles & 50–950 ramp

primary
#34812B
secondary
#A659AF
accent
#4EDACB
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #34812B

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

Preview Lab → · Contrast checker → · Palette generator →

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