#34802F#34802F

#34802F is a mid, vivid green. Relative luminance 0.164; OKLCH L 53.4% C 0.139 H 142.3°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#34802F
RGBrgb(52, 128, 47)
HSLhsl(116, 46%, 34%)
HSVhsv(116, 63%, 50%)
CMYKcmyk(59.4%, 0%, 63.3%, 49.8%)
CIE-LABlab(47.46, -40.29, 36.20)
CIE-LCHlch(47.46, 54.17, 138.06°)
OKLaboklab(53.36% -0.1097 0.0847)
OKLCHoklch(53.36% 0.139 142.3)
XYZxyz(9.6479, 16.3728, 5.3406)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#34802F #7B2F80
analogous
#5D802F #34802F #2F8053
triadic
#34802F #2F3480 #802F34
tetradic
#34802F #2F5D80 #7B2F80 #80532F
square
#34802F #2F5D80 #7B2F80 #80532F
split-complementary
#34802F #532F80 #802F5D
monochromatic
#10260E #22531F #34802F #46AD3F #6AC663

Accessibility & contrast

On white

4.91
#34802F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #34802F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##34802F#FFFFFF#000000##FFFFFF
##34802F1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837526
Deuteranopia (green-blind)
#796E36
Tritanopia (blue-blind)
#287C6F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #34802f;
/* rgb */ color: rgb(52, 128, 47);
/* oklch */ color: oklch(53.4% 0.139 142.3);
Tailwind
colors: {
  custom: {
    50: '#74a66b',
    500: '#34802f',
    950: '#000000',
  },
}
SCSS
$custom: #34802f;
$custom-light: #74a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#34802f",
  "rgb": {
    "r": 52,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 116.296,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5336,
    "c": 0.13865,
    "h": 142.3
  },
  "luminance": 0.16374
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #34802F

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

Preview Lab → · Contrast checker → · Palette generator →

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