#337B4D#337B4D

#337B4D is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.4% C 0.103 H 153.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#337B4D
RGBrgb(51, 123, 77)
HSLhsl(142, 41%, 34%)
HSVhsv(142, 59%, 48%)
CMYKcmyk(58.5%, 0%, 37.4%, 51.8%)
CIE-LABlab(46.18, -33.68, 18.58)
CIE-LCHlch(46.18, 38.46, 151.12°)
OKLaboklab(52.44% -0.0914 0.0466)
OKLCHoklch(52.44% 0.103 153)
XYZxyz(9.7870, 15.4047, 9.4774)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B4D #7B3361
analogous
#3D7B33 #337B4D #337B71
triadic
#337B4D #4D337B #7B4D33
tetradic
#337B4D #333D7B #7B3361 #7B7133
square
#337B4D #333D7B #7B3361 #7B7133
split-complementary
#337B4D #71337B #7B333D
monochromatic
#0F2417 #215032 #337B4D #45A668 #68C088

Accessibility & contrast

On white

5.15
#337B4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#337B4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B4D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B4D#FFFFFF#000000##FFFFFF
##337B4D1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724A
Deuteranopia (green-blind)
#716B50
Tritanopia (blue-blind)
#1E796F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337b4d;
/* rgb */ color: rgb(51, 123, 77);
/* oklch */ color: oklch(52.4% 0.103 153.0);
Tailwind
colors: {
  custom: {
    50: '#71a27f',
    500: '#337b4d',
    950: '#000000',
  },
}
SCSS
$custom: #337b4d;
$custom-light: #71a27f;
$custom-dark: #000000;
JSON
{
  "hex": "#337b4d",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 77
  },
  "hsl": {
    "h": 141.667,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52443,
    "c": 0.10258,
    "h": 153
  },
  "luminance": 0.15406
}

Semantic roles & 50–950 ramp

primary
#337B4D
secondary
#A8628F
accent
#57A5D1
background
#F7FAF7
surface
#EDF3EE
border
#C8CDC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #337B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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