#337A4E#337A4E

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

Color values

HEX#337A4E
RGBrgb(51, 122, 78)
HSLhsl(143, 41%, 34%)
HSVhsv(143, 58%, 48%)
CMYKcmyk(58.2%, 0%, 36.1%, 52.2%)
CIE-LABlab(45.87, -33.02, 17.58)
CIE-LCHlch(45.87, 37.41, 151.97°)
OKLaboklab(52.19% -0.0897 0.0442)
OKLCHoklch(52.19% 0.1 153.8)
XYZxyz(9.6992, 15.1721, 9.6236)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A4E #7A335F
analogous
#3C7A33 #337A4E #337A72
triadic
#337A4E #4E337A #7A4E33
tetradic
#337A4E #333C7A #7A335F #7A7233
square
#337A4E #333C7A #7A335F #7A7233
split-complementary
#337A4E #72337A #7A333C
monochromatic
#0F2417 #214F32 #337A4E #45A56A #68C089

Accessibility & contrast

On white

5.20
#337A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #337A4E
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A4E#FFFFFF#000000##FFFFFF
##337A4E1.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714B
Deuteranopia (green-blind)
#706A51
Tritanopia (blue-blind)
#1E796F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337a4e;
/* rgb */ color: rgb(51, 122, 78);
/* oklch */ color: oklch(52.2% 0.100 153.8);
Tailwind
colors: {
  custom: {
    50: '#71a180',
    500: '#337a4e',
    950: '#000000',
  },
}
SCSS
$custom: #337a4e;
$custom-light: #71a180;
$custom-dark: #000000;
JSON
{
  "hex": "#337a4e",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 78
  },
  "hsl": {
    "h": 142.817,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52192,
    "c": 0.10001,
    "h": 153.8
  },
  "luminance": 0.15173
}

Semantic roles & 50–950 ramp

primary
#337A4E
secondary
#A8618D
accent
#57A3D1
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080F0A
muted
#7B7E7C

Preview Lab

Preview with #337A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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