#34812C#34812C

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

Color values

HEX#34812C
RGBrgb(52, 129, 44)
HSLhsl(114, 49%, 34%)
HSVhsv(114, 66%, 51%)
CMYKcmyk(59.7%, 0%, 65.9%, 49.4%)
CIE-LABlab(47.77, -41.03, 37.96)
CIE-LCHlch(47.77, 55.90, 137.23°)
OKLaboklab(53.6% -0.1119 0.0881)
OKLCHoklch(53.6% 0.142 141.8)
XYZxyz(9.7206, 16.6116, 5.0765)
Luminance0.1661 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34812C #792C81
analogous
#5F812C #34812C #2C814F
triadic
#34812C #2C3481 #812C34
tetradic
#34812C #2C5F81 #792C81 #814F2C
square
#34812C #2C5F81 #792C81 #814F2C
split-complementary
#34812C #4F2C81 #812C5F
monochromatic
#0F260D #22531C #34812C #46AF3C #69C85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34812C#FFFFFF#000000##FFFFFF
##34812C1.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)
#847522
Deuteranopia (green-blind)
#7A6F33
Tritanopia (blue-blind)
#297D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #34812c;
/* rgb */ color: rgb(52, 129, 44);
/* oklch */ color: oklch(53.6% 0.142 141.8);
Tailwind
colors: {
  custom: {
    50: '#74a669',
    500: '#34812c',
    950: '#000000',
  },
}
SCSS
$custom: #34812c;
$custom-light: #74a669;
$custom-dark: #000000;
JSON
{
  "hex": "#34812c",
  "rgb": {
    "r": 52,
    "g": 129,
    "b": 44
  },
  "hsl": {
    "h": 114.353,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53603,
    "c": 0.14247,
    "h": 141.8
  },
  "luminance": 0.16612
}

Semantic roles & 50–950 ramp

primary
#34812C
secondary
#A75AAF
accent
#4FD9CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #34812C

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

Preview Lab → · Contrast checker → · Palette generator →

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