#34802A#34802A

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

Color values

HEX#34802A
RGBrgb(52, 128, 42)
HSLhsl(113, 51%, 33%)
HSVhsv(113, 67%, 50%)
CMYKcmyk(59.4%, 0%, 67.2%, 49.8%)
CIE-LABlab(47.41, -40.85, 38.48)
CIE-LCHlch(47.41, 56.12, 136.71°)
OKLaboklab(53.3% -0.1115 0.089)
OKLCHoklch(53.3% 0.143 141.4)
XYZxyz(9.5528, 16.3347, 4.8396)
Luminance0.1634 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34802A #762A80
analogous
#5F802A #34802A #2A804B
triadic
#34802A #2A3480 #802A34
tetradic
#34802A #2A5F80 #762A80 #804B2A
square
#34802A #2A5F80 #762A80 #804B2A
split-complementary
#34802A #4B2A80 #802A5F
monochromatic
#0F240C #21521B #34802A #47AE39 #68C95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##34802A#FFFFFF#000000##FFFFFF
##34802A1.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)
#83741F
Deuteranopia (green-blind)
#7A6E31
Tritanopia (blue-blind)
#297C6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #34802a;
/* rgb */ color: rgb(52, 128, 42);
/* oklch */ color: oklch(53.3% 0.143 141.4);
Tailwind
colors: {
  custom: {
    50: '#74a668',
    500: '#34802a',
    950: '#000000',
  },
}
SCSS
$custom: #34802a;
$custom-light: #74a668;
$custom-dark: #000000;
JSON
{
  "hex": "#34802a",
  "rgb": {
    "r": 52,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 113.023,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.53303,
    "c": 0.14272,
    "h": 141.4
  },
  "luminance": 0.16336
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34802A

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

Preview Lab → · Contrast checker → · Palette generator →

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