#34812D#34812D

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

Color values

HEX#34812D
RGBrgb(52, 129, 45)
HSLhsl(115, 48%, 34%)
HSVhsv(115, 65%, 51%)
CMYKcmyk(59.7%, 0%, 65.1%, 49.4%)
CIE-LABlab(47.78, -40.92, 37.51)
CIE-LCHlch(47.78, 55.51, 137.50°)
OKLaboklab(53.61% -0.1116 0.0873)
OKLCHoklch(53.61% 0.142 142)
XYZxyz(9.7396, 16.6192, 5.1767)
Luminance0.1662 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34812D #7A2D81
analogous
#5E812D #34812D #2D8150
triadic
#34812D #2D3481 #812D34
tetradic
#34812D #2D5E81 #7A2D81 #81502D
square
#34812D #2D5E81 #7A2D81 #81502D
split-complementary
#34812D #502D81 #812D5E
monochromatic
#0F260D #22541D #34812D #46AE3D #69C861

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34812D#FFFFFF#000000##FFFFFF
##34812D1.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)
#847523
Deuteranopia (green-blind)
#7A6F34
Tritanopia (blue-blind)
#287D6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #34812d;
/* rgb */ color: rgb(52, 129, 45);
/* oklch */ color: oklch(53.6% 0.142 142.0);
Tailwind
colors: {
  custom: {
    50: '#74a66a',
    500: '#34812d',
    950: '#000000',
  },
}
SCSS
$custom: #34812d;
$custom-light: #74a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#34812d",
  "rgb": {
    "r": 52,
    "g": 129,
    "b": 45
  },
  "hsl": {
    "h": 115,
    "s": 48.276,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53614,
    "c": 0.14165,
    "h": 142
  },
  "luminance": 0.1662
}

Semantic roles & 50–950 ramp

primary
#34812D
secondary
#A75CAE
accent
#50D8CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #34812D

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

Preview Lab → · Contrast checker → · Palette generator →

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