#337A20#337A20

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

Color values

HEX#337A20
RGBrgb(51, 122, 32)
HSLhsl(107, 58%, 30%)
HSVhsv(107, 74%, 48%)
CMYKcmyk(58.2%, 0%, 73.8%, 52.2%)
CIE-LABlab(45.26, -39.70, 40.51)
CIE-LCHlch(45.26, 56.72, 134.42°)
OKLaboklab(51.49% -0.109 0.092)
OKLCHoklch(51.49% 0.143 139.8)
XYZxyz(8.5851, 14.7264, 3.7563)
Luminance0.1473 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A20 #67207A
analogous
#607A20 #337A20 #207A3A
triadic
#337A20 #20337A #7A2033
tetradic
#337A20 #20607A #67207A #7A3A20
square
#337A20 #20607A #67207A #7A3A20
split-complementary
#337A20 #3A207A #7A2060
monochromatic
#0A1907 #1F4A13 #337A20 #47AA2D #63CE46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337A20#FFFFFF#000000##FFFFFF
##337A201.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)
#7E6F11
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#2B7668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a20;
/* rgb */ color: rgb(51, 122, 32);
/* oklch */ color: oklch(51.5% 0.143 139.8);
Tailwind
colors: {
  custom: {
    50: '#73a161',
    500: '#337a20',
    950: '#000000',
  },
}
SCSS
$custom: #337a20;
$custom-light: #73a161;
$custom-dark: #000000;
JSON
{
  "hex": "#337a20",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 32
  },
  "hsl": {
    "h": 107.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.5149,
    "c": 0.14264,
    "h": 139.8
  },
  "luminance": 0.14727
}

Semantic roles & 50–950 ramp

primary
#337A20
secondary
#9849AD
accent
#46E2C1
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337A20

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

Preview Lab → · Contrast checker → · Palette generator →

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