#34812A#34812A

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

Color values

HEX#34812A
RGBrgb(52, 129, 42)
HSLhsl(113, 51%, 34%)
HSVhsv(113, 67%, 51%)
CMYKcmyk(59.7%, 0%, 67.4%, 49.4%)
CIE-LABlab(47.75, -41.25, 38.85)
CIE-LCHlch(47.75, 56.66, 136.71°)
OKLaboklab(53.58% -0.1126 0.0898)
OKLCHoklch(53.58% 0.144 141.4)
XYZxyz(9.6839, 16.5969, 4.8832)
Luminance0.1660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34812A #772A81
analogous
#5F812A #34812A #2A814B
triadic
#34812A #2A3481 #812A34
tetradic
#34812A #2A5F81 #772A81 #814B2A
square
#34812A #2A5F81 #772A81 #814B2A
split-complementary
#34812A #4B2A81 #812A5F
monochromatic
#0F250C #21531B #34812A #47AF39 #68CA5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34812A#FFFFFF#000000##FFFFFF
##34812A1.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)
#84751F
Deuteranopia (green-blind)
#7A6F32
Tritanopia (blue-blind)
#297D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #34812a;
/* rgb */ color: rgb(52, 129, 42);
/* oklch */ color: oklch(53.6% 0.144 141.4);
Tailwind
colors: {
  custom: {
    50: '#74a668',
    500: '#34812a',
    950: '#000000',
  },
}
SCSS
$custom: #34812a;
$custom-light: #74a668;
$custom-dark: #000000;
JSON
{
  "hex": "#34812a",
  "rgb": {
    "r": 52,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 113.103,
    "s": 50.877,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53582,
    "c": 0.14405,
    "h": 141.4
  },
  "luminance": 0.16598
}

Semantic roles & 50–950 ramp

primary
#34812A
secondary
#A557AF
accent
#4DDACA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #34812A

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

Preview Lab → · Contrast checker → · Palette generator →

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