#337A3D#337A3D

#337A3D is a mid, moderate green. Relative luminance 0.150; OKLCH L 51.9% C 0.117 H 146.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#337A3D
RGBrgb(51, 122, 61)
HSLhsl(128, 41%, 34%)
HSVhsv(128, 58%, 48%)
CMYKcmyk(58.2%, 0%, 50%, 52.2%)
CIE-LABlab(45.58, -36.13, 26.75)
CIE-LCHlch(45.58, 44.95, 143.49°)
OKLaboklab(51.86% -0.0979 0.065)
OKLCHoklch(51.86% 0.118 146.4)
XYZxyz(9.1665, 14.9590, 6.8183)
Luminance0.1496 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A3D #7A3370
analogous
#4D7A33 #337A3D #337A61
triadic
#337A3D #3D337A #7A3D33
tetradic
#337A3D #334D7A #7A3370 #7A6133
square
#337A3D #334D7A #7A3370 #7A6133
split-complementary
#337A3D #61337A #7A334D
monochromatic
#0F2412 #214F27 #337A3D #45A553 #68C074

Accessibility & contrast

On white

5.26
#337A3D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#337A3D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A3D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A3D#FFFFFF#000000##FFFFFF
##337A3D1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7038
Deuteranopia (green-blind)
#726941
Tritanopia (blue-blind)
#25776C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337a3d;
/* rgb */ color: rgb(51, 122, 61);
/* oklch */ color: oklch(51.9% 0.117 146.4);
Tailwind
colors: {
  custom: {
    50: '#72a174',
    500: '#337a3d',
    950: '#000000',
  },
}
SCSS
$custom: #337a3d;
$custom-light: #72a174;
$custom-dark: #000000;
JSON
{
  "hex": "#337a3d",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 61
  },
  "hsl": {
    "h": 128.451,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.51858,
    "c": 0.1175,
    "h": 146.4
  },
  "luminance": 0.1496
}

Semantic roles & 50–950 ramp

primary
#337A3D
secondary
#A8619E
accent
#57C0D1
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #337A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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