#337A2B#337A2B

#337A2B is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.134 H 141.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#337A2B
RGBrgb(51, 122, 43)
HSLhsl(114, 48%, 32%)
HSVhsv(114, 65%, 48%)
CMYKcmyk(58.2%, 0%, 64.8%, 52.2%)
CIE-LABlab(45.35, -38.60, 35.73)
CIE-LCHlch(45.35, 52.60, 137.21°)
OKLaboklab(51.6% -0.1053 0.0833)
OKLCHoklch(51.6% 0.134 141.7)
XYZxyz(8.7604, 14.7965, 4.6794)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A2B #722B7A
analogous
#5B7A2B #337A2B #2B7A4B
triadic
#337A2B #2B337A #7A2B33
tetradic
#337A2B #2B5B7A #722B7A #7A4B2B
square
#337A2B #2B5B7A #722B7A #7A4B2B
split-complementary
#337A2B #4B2B7A #7A2B5B
monochromatic
#0D1F0B #204D1B #337A2B #46A73B #65C55A

Accessibility & contrast

On white

5.30
#337A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#337A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A2B
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A2B#FFFFFF#000000##FFFFFF
##337A2B1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F22
Deuteranopia (green-blind)
#746932
Tritanopia (blue-blind)
#297669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a2b;
/* rgb */ color: rgb(51, 122, 43);
/* oklch */ color: oklch(51.6% 0.134 141.7);
Tailwind
colors: {
  custom: {
    50: '#72a168',
    500: '#337a2b',
    950: '#000000',
  },
}
SCSS
$custom: #337a2b;
$custom-light: #72a168;
$custom-dark: #000000;
JSON
{
  "hex": "#337a2b",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 43
  },
  "hsl": {
    "h": 113.924,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.51601,
    "c": 0.13429,
    "h": 141.7
  },
  "luminance": 0.14797
}

Semantic roles & 50–950 ramp

primary
#337A2B
secondary
#A256AB
accent
#50D7CA
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #337A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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