#337A52#337A52

#337A52 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.3% C 0.096 H 156.1°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#337A52
RGBrgb(51, 122, 82)
HSLhsl(146, 41%, 34%)
HSVhsv(146, 58%, 48%)
CMYKcmyk(58.2%, 0%, 32.8%, 52.2%)
CIE-LABlab(45.95, -32.19, 15.38)
CIE-LCHlch(45.95, 35.68, 154.46°)
OKLaboklab(52.28% -0.0877 0.0389)
OKLCHoklch(52.28% 0.096 156.1)
XYZxyz(9.8470, 15.2312, 10.4020)
Luminance0.1523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A52 #7A335B
analogous
#387A33 #337A52 #337A76
triadic
#337A52 #52337A #7A5233
tetradic
#337A52 #33387A #7A335B #7A7633
square
#337A52 #33387A #7A335B #7A7633
split-complementary
#337A52 #76337A #7A3338
monochromatic
#0F2418 #214F35 #337A52 #45A56F #68C08E

Accessibility & contrast

On white

5.19
#337A52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#337A52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A52
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A52#FFFFFF#000000##FFFFFF
##337A521.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797150
Deuteranopia (green-blind)
#6F6A54
Tritanopia (blue-blind)
#1C796F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337a52;
/* rgb */ color: rgb(51, 122, 82);
/* oklch */ color: oklch(52.3% 0.096 156.1);
Tailwind
colors: {
  custom: {
    50: '#71a182',
    500: '#337a52',
    950: '#000000',
  },
}
SCSS
$custom: #337a52;
$custom-light: #71a182;
$custom-dark: #000000;
JSON
{
  "hex": "#337a52",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 82
  },
  "hsl": {
    "h": 146.197,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52284,
    "c": 0.09596,
    "h": 156.1
  },
  "luminance": 0.15232
}

Semantic roles & 50–950 ramp

primary
#337A52
secondary
#A86189
accent
#579CD1
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #337A52

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

Preview Lab → · Contrast checker → · Palette generator →

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