#337A4C#337A4C

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

Color values

HEX#337A4C
RGBrgb(51, 122, 76)
HSLhsl(141, 41%, 34%)
HSVhsv(141, 58%, 48%)
CMYKcmyk(58.2%, 0%, 37.7%, 52.2%)
CIE-LABlab(45.83, -33.43, 18.68)
CIE-LCHlch(45.83, 38.29, 150.80°)
OKLaboklab(52.15% -0.0907 0.0468)
OKLCHoklch(52.15% 0.102 152.7)
XYZxyz(9.6286, 15.1438, 9.2517)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A4C #7A3361
analogous
#3E7A33 #337A4C #337A70
triadic
#337A4C #4C337A #7A4C33
tetradic
#337A4C #333E7A #7A3361 #7A7033
square
#337A4C #333E7A #7A3361 #7A7033
split-complementary
#337A4C #70337A #7A333E
monochromatic
#0F2416 #214F31 #337A4C #45A567 #68C087

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337A4C#FFFFFF#000000##FFFFFF
##337A4C1.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)
#7A7149
Deuteranopia (green-blind)
#706A4F
Tritanopia (blue-blind)
#1F786E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337a4c;
/* rgb */ color: rgb(51, 122, 76);
/* oklch */ color: oklch(52.1% 0.102 152.7);
Tailwind
colors: {
  custom: {
    50: '#71a17e',
    500: '#337a4c',
    950: '#000000',
  },
}
SCSS
$custom: #337a4c;
$custom-light: #71a17e;
$custom-dark: #000000;
JSON
{
  "hex": "#337a4c",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 76
  },
  "hsl": {
    "h": 141.127,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52148,
    "c": 0.10206,
    "h": 152.7
  },
  "luminance": 0.15145
}

Semantic roles & 50–950 ramp

primary
#337A4C
secondary
#A8618F
accent
#57A6D1
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #337A4C

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

Preview Lab → · Contrast checker → · Palette generator →

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