#34802D#34802D

#34802D is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.3% C 0.140 H 141.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#34802D
RGBrgb(52, 128, 45)
HSLhsl(115, 48%, 34%)
HSVhsv(115, 65%, 50%)
CMYKcmyk(59.4%, 0%, 64.8%, 49.8%)
CIE-LABlab(47.44, -40.52, 37.13)
CIE-LCHlch(47.44, 54.96, 137.50°)
OKLaboklab(53.34% -0.1105 0.0865)
OKLCHoklch(53.34% 0.14 141.9)
XYZxyz(9.6085, 16.3570, 5.1330)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34802D #792D80
analogous
#5E802D #34802D #2D8050
triadic
#34802D #2D3480 #802D34
tetradic
#34802D #2D5E80 #792D80 #80502D
square
#34802D #2D5E80 #792D80 #80502D
split-complementary
#34802D #502D80 #802D5E
monochromatic
#0F250D #22531D #34802D #46AD3D #69C760

Accessibility & contrast

On white

4.92
#34802D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#34802D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #34802D
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34802D#FFFFFF#000000##FFFFFF
##34802D1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837423
Deuteranopia (green-blind)
#796E34
Tritanopia (blue-blind)
#297C6E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #34802d;
/* rgb */ color: rgb(52, 128, 45);
/* oklch */ color: oklch(53.3% 0.140 141.9);
Tailwind
colors: {
  custom: {
    50: '#74a669',
    500: '#34802d',
    950: '#000000',
  },
}
SCSS
$custom: #34802d;
$custom-light: #74a669;
$custom-dark: #000000;
JSON
{
  "hex": "#34802d",
  "rgb": {
    "r": 52,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 114.94,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.53336,
    "c": 0.14031,
    "h": 141.9
  },
  "luminance": 0.16358
}

Semantic roles & 50–950 ramp

primary
#34802D
secondary
#A75BAE
accent
#50D8CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #34802D

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

Preview Lab → · Contrast checker → · Palette generator →

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