#337A2A#337A2A

#337A2A is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.135 H 141.5°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#337A2A
RGBrgb(51, 122, 42)
HSLhsl(113, 49%, 32%)
HSVhsv(113, 66%, 48%)
CMYKcmyk(58.2%, 0%, 65.6%, 52.2%)
CIE-LABlab(45.34, -38.71, 36.19)
CIE-LCHlch(45.34, 53.00, 136.93°)
OKLaboklab(51.59% -0.1057 0.0842)
OKLCHoklch(51.59% 0.135 141.5)
XYZxyz(8.7423, 14.7893, 4.5840)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A2A #712A7A
analogous
#5B7A2A #337A2A #2A7A49
triadic
#337A2A #2A337A #7A2A33
tetradic
#337A2A #2A5B7A #712A7A #7A492A
square
#337A2A #2A5B7A #712A7A #7A492A
split-complementary
#337A2A #492A7A #7A2A5B
monochromatic
#0D1F0B #204C1A #337A2A #46A83A #65C659

Accessibility & contrast

On white

5.31
#337A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#337A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A2A
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A2A#FFFFFF#000000##FFFFFF
##337A2A1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F21
Deuteranopia (green-blind)
#746931
Tritanopia (blue-blind)
#297669
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a2a;
/* rgb */ color: rgb(51, 122, 42);
/* oklch */ color: oklch(51.6% 0.135 141.5);
Tailwind
colors: {
  custom: {
    50: '#73a167',
    500: '#337a2a',
    950: '#000000',
  },
}
SCSS
$custom: #337a2a;
$custom-light: #73a167;
$custom-dark: #000000;
JSON
{
  "hex": "#337a2a",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 42
  },
  "hsl": {
    "h": 113.25,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.5159,
    "c": 0.13511,
    "h": 141.5
  },
  "luminance": 0.1479
}

Semantic roles & 50–950 ramp

primary
#337A2A
secondary
#A255AB
accent
#4FD8C9
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #337A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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