#34842F#34842F

#34842F is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.5% C 0.144 H 142.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#34842F
RGBrgb(52, 132, 47)
HSLhsl(116, 47%, 35%)
HSVhsv(116, 64%, 52%)
CMYKcmyk(60.6%, 0%, 64.4%, 48.2%)
CIE-LABlab(48.81, -41.89, 37.72)
CIE-LCHlch(48.81, 56.37, 137.99°)
OKLaboklab(54.47% -0.1141 0.088)
OKLCHoklch(54.47% 0.144 142.4)
XYZxyz(10.1800, 17.4369, 5.5180)
Luminance0.1744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34842F #7F2F84
analogous
#5E842F #34842F #2F8455
triadic
#34842F #2F3484 #842F34
tetradic
#34842F #2F5E84 #7F2F84 #84552F
square
#34842F #2F5E84 #7F2F84 #84552F
split-complementary
#34842F #552F84 #842F5E
monochromatic
#102A0F #22571F #34842F #46B13F #6BC865

Accessibility & contrast

On white

4.68
#34842F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#34842F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34842F
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34842F#FFFFFF#000000##FFFFFF
##34842F1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877825
Deuteranopia (green-blind)
#7D7136
Tritanopia (blue-blind)
#278072
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #34842f;
/* rgb */ color: rgb(52, 132, 47);
/* oklch */ color: oklch(54.5% 0.144 142.4);
Tailwind
colors: {
  custom: {
    50: '#75a86b',
    500: '#34842f',
    950: '#000000',
  },
}
SCSS
$custom: #34842f;
$custom-light: #75a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#34842f",
  "rgb": {
    "r": 52,
    "g": 132,
    "b": 47
  },
  "hsl": {
    "h": 116.471,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5447,
    "c": 0.14404,
    "h": 142.4
  },
  "luminance": 0.17438
}

Semantic roles & 50–950 ramp

primary
#34842F
secondary
#AA60AF
accent
#51D7CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A

Preview Lab

Preview with #34842F

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

Preview Lab → · Contrast checker → · Palette generator →

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