#337A21#337A21

#337A21 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.142 H 140.0°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#337A21
RGBrgb(51, 122, 33)
HSLhsl(108, 57%, 30%)
HSVhsv(108, 73%, 48%)
CMYKcmyk(58.2%, 0%, 73%, 52.2%)
CIE-LABlab(45.26, -39.61, 40.10)
CIE-LCHlch(45.26, 56.37, 134.65°)
OKLaboklab(51.5% -0.1087 0.0913)
OKLCHoklch(51.5% 0.142 140)
XYZxyz(8.5989, 14.7320, 3.8290)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A21 #68217A
analogous
#5F7A21 #337A21 #217A3B
triadic
#337A21 #21337A #7A2133
tetradic
#337A21 #215F7A #68217A #7A3B21
square
#337A21 #215F7A #68217A #7A3B21
split-complementary
#337A21 #3B217A #7A215F
monochromatic
#0B1A07 #1F4A14 #337A21 #47AA2E #63CD48

Accessibility & contrast

On white

5.32
#337A21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#337A21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A21
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A21#FFFFFF#000000##FFFFFF
##337A211.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F13
Deuteranopia (green-blind)
#74692A
Tritanopia (blue-blind)
#2B7668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a21;
/* rgb */ color: rgb(51, 122, 33);
/* oklch */ color: oklch(51.5% 0.142 140.0);
Tailwind
colors: {
  custom: {
    50: '#73a162',
    500: '#337a21',
    950: '#000000',
  },
}
SCSS
$custom: #337a21;
$custom-light: #73a162;
$custom-dark: #000000;
JSON
{
  "hex": "#337a21",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 33
  },
  "hsl": {
    "h": 107.865,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51499,
    "c": 0.14195,
    "h": 140
  },
  "luminance": 0.14733
}

Semantic roles & 50–950 ramp

primary
#337A21
secondary
#994AAD
accent
#47E1C2
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #337A21

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

Preview Lab → · Contrast checker → · Palette generator →

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