#34812F#34812F

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

Color values

HEX#34812F
RGBrgb(52, 129, 47)
HSLhsl(116, 47%, 35%)
HSVhsv(116, 64%, 51%)
CMYKcmyk(59.7%, 0%, 63.6%, 49.4%)
CIE-LABlab(47.80, -40.69, 36.58)
CIE-LCHlch(47.80, 54.72, 138.04°)
OKLaboklab(53.64% -0.1108 0.0855)
OKLCHoklch(53.64% 0.14 142.3)
XYZxyz(9.7790, 16.6349, 5.3843)
Luminance0.1664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34812F #7C2F81
analogous
#5D812F #34812F #2F8153
triadic
#34812F #2F3481 #812F34
tetradic
#34812F #2F5D81 #7C2F81 #81532F
square
#34812F #2F5D81 #7C2F81 #81532F
split-complementary
#34812F #532F81 #812F5D
monochromatic
#10270E #22541F #34812F #46AE3F #6AC664

Accessibility & contrast

On white

4.85
#34812F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#34812F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34812F
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34812F#FFFFFF#000000##FFFFFF
##34812F1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847526
Deuteranopia (green-blind)
#7A6F36
Tritanopia (blue-blind)
#287D70
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #34812f;
/* rgb */ color: rgb(52, 129, 47);
/* oklch */ color: oklch(53.6% 0.140 142.3);
Tailwind
colors: {
  custom: {
    50: '#74a66b',
    500: '#34812f',
    950: '#000000',
  },
}
SCSS
$custom: #34812f;
$custom-light: #74a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#34812f",
  "rgb": {
    "r": 52,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 116.341,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53637,
    "c": 0.14,
    "h": 142.3
  },
  "luminance": 0.16636
}

Semantic roles & 50–950 ramp

primary
#34812F
secondary
#A95EAD
accent
#52D6CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #34812F

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

Preview Lab → · Contrast checker → · Palette generator →

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