#337A41#337A41

#337A41 is a mid, moderate green. Relative luminance 0.150; OKLCH L 51.9% C 0.113 H 147.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#337A41
RGBrgb(51, 122, 65)
HSLhsl(132, 41%, 34%)
HSVhsv(132, 58%, 48%)
CMYKcmyk(58.2%, 0%, 46.7%, 52.2%)
CIE-LABlab(45.64, -35.46, 24.63)
CIE-LCHlch(45.64, 43.18, 145.22°)
OKLaboklab(51.93% -0.096 0.0604)
OKLCHoklch(51.93% 0.113 147.8)
XYZxyz(9.2783, 15.0037, 7.4071)
Luminance0.1500 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A41 #7A336C
analogous
#497A33 #337A41 #337A65
triadic
#337A41 #41337A #7A4133
tetradic
#337A41 #33497A #7A336C #7A6533
square
#337A41 #33497A #7A336C #7A6533
split-complementary
#337A41 #65337A #7A3349
monochromatic
#0F2413 #214F2A #337A41 #45A558 #68C079

Accessibility & contrast

On white

5.25
#337A41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#337A41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A41
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A41#FFFFFF#000000##FFFFFF
##337A411.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703D
Deuteranopia (green-blind)
#726945
Tritanopia (blue-blind)
#23786C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337a41;
/* rgb */ color: rgb(51, 122, 65);
/* oklch */ color: oklch(51.9% 0.113 147.8);
Tailwind
colors: {
  custom: {
    50: '#72a176',
    500: '#337a41',
    950: '#000000',
  },
}
SCSS
$custom: #337a41;
$custom-light: #72a176;
$custom-dark: #000000;
JSON
{
  "hex": "#337a41",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 65
  },
  "hsl": {
    "h": 131.831,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.51928,
    "c": 0.11342,
    "h": 147.8
  },
  "luminance": 0.15005
}

Semantic roles & 50–950 ramp

primary
#337A41
secondary
#A8619A
accent
#57B9D1
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #337A41

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

Preview Lab → · Contrast checker → · Palette generator →

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