#337A32#337A32

#337A32 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.128 H 143.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#337A32
RGBrgb(51, 122, 50)
HSLhsl(119, 42%, 34%)
HSVhsv(119, 59%, 48%)
CMYKcmyk(58.2%, 0%, 59%, 52.2%)
CIE-LABlab(45.43, -37.74, 32.37)
CIE-LCHlch(45.43, 49.72, 139.38°)
OKLaboklab(51.69% -0.1026 0.0767)
OKLCHoklch(51.69% 0.128 143.2)
XYZxyz(8.9000, 14.8524, 5.4148)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A32 #79327A
analogous
#577A32 #337A32 #327A55
triadic
#337A32 #32337A #7A3233
tetradic
#337A32 #32577A #79327A #7A5532
square
#337A32 #32577A #79327A #7A5532
split-complementary
#337A32 #55327A #7A3257
monochromatic
#0F230E #214F20 #337A32 #45A544 #67C066

Accessibility & contrast

On white

5.29
#337A32 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#337A32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A32
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A32#FFFFFF#000000##FFFFFF
##337A321.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F2B
Deuteranopia (green-blind)
#736937
Tritanopia (blue-blind)
#28776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337a32;
/* rgb */ color: rgb(51, 122, 50);
/* oklch */ color: oklch(51.7% 0.128 143.2);
Tailwind
colors: {
  custom: {
    50: '#72a16c',
    500: '#337a32',
    950: '#000000',
  },
}
SCSS
$custom: #337a32;
$custom-light: #72a16c;
$custom-dark: #000000;
JSON
{
  "hex": "#337a32",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 50
  },
  "hsl": {
    "h": 119.167,
    "s": 41.86,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5169,
    "c": 0.12813,
    "h": 143.2
  },
  "luminance": 0.14853
}

Semantic roles & 50–950 ramp

primary
#337A32
secondary
#A760A8
accent
#56D2D0
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #337A32

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

Preview Lab → · Contrast checker → · Palette generator →

#337A32 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva