#337A4D#337A4D

#337A4D is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.2% C 0.101 H 153.2°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#337A4D
RGBrgb(51, 122, 77)
HSLhsl(142, 41%, 34%)
HSVhsv(142, 58%, 48%)
CMYKcmyk(58.2%, 0%, 36.9%, 52.2%)
CIE-LABlab(45.85, -33.23, 18.13)
CIE-LCHlch(45.85, 37.85, 151.38°)
OKLaboklab(52.17% -0.0902 0.0455)
OKLCHoklch(52.17% 0.101 153.2)
XYZxyz(9.6636, 15.1578, 9.4362)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A4D #7A3360
analogous
#3D7A33 #337A4D #337A71
triadic
#337A4D #4D337A #7A4D33
tetradic
#337A4D #333D7A #7A3360 #7A7133
square
#337A4D #333D7A #7A3360 #7A7133
split-complementary
#337A4D #71337A #7A333D
monochromatic
#0F2417 #214F32 #337A4D #45A568 #68C088

Accessibility & contrast

On white

5.21
#337A4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #337A4D
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A4D#FFFFFF#000000##FFFFFF
##337A4D1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714A
Deuteranopia (green-blind)
#706A50
Tritanopia (blue-blind)
#1F796E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337a4d;
/* rgb */ color: rgb(51, 122, 77);
/* oklch */ color: oklch(52.2% 0.101 153.2);
Tailwind
colors: {
  custom: {
    50: '#71a17f',
    500: '#337a4d',
    950: '#000000',
  },
}
SCSS
$custom: #337a4d;
$custom-light: #71a17f;
$custom-dark: #000000;
JSON
{
  "hex": "#337a4d",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 77
  },
  "hsl": {
    "h": 141.972,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.5217,
    "c": 0.10104,
    "h": 153.2
  },
  "luminance": 0.15159
}

Semantic roles & 50–950 ramp

primary
#337A4D
secondary
#A8618E
accent
#57A4D1
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #337A4D

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

Preview Lab → · Contrast checker → · Palette generator →

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