#337A2C#337A2C

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

Color values

HEX#337A2C
RGBrgb(51, 122, 44)
HSLhsl(115, 47%, 33%)
HSVhsv(115, 64%, 48%)
CMYKcmyk(58.2%, 0%, 63.9%, 52.2%)
CIE-LABlab(45.36, -38.49, 35.26)
CIE-LCHlch(45.36, 52.20, 137.50°)
OKLaboklab(51.61% -0.105 0.0824)
OKLCHoklch(51.61% 0.133 141.9)
XYZxyz(8.7790, 14.8040, 4.7772)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A2C #732C7A
analogous
#5A7A2C #337A2C #2C7A4C
triadic
#337A2C #2C337A #7A2C33
tetradic
#337A2C #2C5A7A #732C7A #7A4C2C
square
#337A2C #2C5A7A #732C7A #7A4C2C
split-complementary
#337A2C #4C2C7A #7A2C5A
monochromatic
#0D200C #204D1C #337A2C #46A73C #65C45C

Accessibility & contrast

On white

5.30
#337A2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #337A2C
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A2C#FFFFFF#000000##FFFFFF
##337A2C1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337a2c;
/* rgb */ color: rgb(51, 122, 44);
/* oklch */ color: oklch(51.6% 0.133 141.9);
Tailwind
colors: {
  custom: {
    50: '#72a168',
    500: '#337a2c',
    950: '#000000',
  },
}
SCSS
$custom: #337a2c;
$custom-light: #72a168;
$custom-dark: #000000;
JSON
{
  "hex": "#337a2c",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 44
  },
  "hsl": {
    "h": 114.615,
    "s": 46.988,
    "l": 32.549
  },
  "oklch": {
    "l": 0.51613,
    "c": 0.13344,
    "h": 141.9
  },
  "luminance": 0.14805
}

Semantic roles & 50–950 ramp

primary
#337A2C
secondary
#A357AA
accent
#51D7CB
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #337A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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