#337A4B#337A4B

#337A4B is a mid, moderate green. Relative luminance 0.151; OKLCH L 52.1% C 0.103 H 152.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#337A4B
RGBrgb(51, 122, 75)
HSLhsl(140, 41%, 34%)
HSVhsv(140, 58%, 48%)
CMYKcmyk(58.2%, 0%, 38.5%, 52.2%)
CIE-LABlab(45.81, -33.63, 19.23)
CIE-LCHlch(45.81, 38.73, 150.24°)
OKLaboklab(52.13% -0.0912 0.0481)
OKLCHoklch(52.13% 0.103 152.2)
XYZxyz(9.5941, 15.1300, 9.0700)
Luminance0.1513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A4B #7A3362
analogous
#3F7A33 #337A4B #337A6F
triadic
#337A4B #4B337A #7A4B33
tetradic
#337A4B #333F7A #7A3362 #7A6F33
square
#337A4B #333F7A #7A3362 #7A6F33
split-complementary
#337A4B #6F337A #7A333F
monochromatic
#0F2416 #214F30 #337A4B #45A566 #68C085

Accessibility & contrast

On white

5.22
#337A4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#337A4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A4B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A4B#FFFFFF#000000##FFFFFF
##337A4B1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7148
Deuteranopia (green-blind)
#716A4E
Tritanopia (blue-blind)
#1F786E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337a4b;
/* rgb */ color: rgb(51, 122, 75);
/* oklch */ color: oklch(52.1% 0.103 152.2);
Tailwind
colors: {
  custom: {
    50: '#71a17d',
    500: '#337a4b',
    950: '#000000',
  },
}
SCSS
$custom: #337a4b;
$custom-light: #71a17d;
$custom-dark: #000000;
JSON
{
  "hex": "#337a4b",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 75
  },
  "hsl": {
    "h": 140.282,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52126,
    "c": 0.10309,
    "h": 152.2
  },
  "luminance": 0.15131
}

Semantic roles & 50–950 ramp

primary
#337A4B
secondary
#A86190
accent
#57A8D1
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #337A4B

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

Preview Lab → · Contrast checker → · Palette generator →

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