#337B20#337B20

#337B20 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.144 H 139.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#337B20
RGBrgb(51, 123, 32)
HSLhsl(107, 59%, 30%)
HSVhsv(107, 74%, 48%)
CMYKcmyk(58.5%, 0%, 74%, 51.8%)
CIE-LABlab(45.60, -40.10, 40.86)
CIE-LCHlch(45.60, 57.25, 134.46°)
OKLaboklab(51.77% -0.1101 0.0927)
OKLCHoklch(51.77% 0.144 139.9)
XYZxyz(8.7085, 14.9733, 3.7974)
Luminance0.1497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B20 #68207B
analogous
#607B20 #337B20 #207B3B
triadic
#337B20 #20337B #7B2033
tetradic
#337B20 #20607B #68207B #7B3B20
square
#337B20 #20607B #68207B #7B3B20
split-complementary
#337B20 #3B207B #7B2060
monochromatic
#0B1A07 #1F4A13 #337B20 #47AC2D #63CF46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337B20#FFFFFF#000000##FFFFFF
##337B201.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)
#7F7011
Deuteranopia (green-blind)
#756A29
Tritanopia (blue-blind)
#2B7769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b20;
/* rgb */ color: rgb(51, 123, 32);
/* oklch */ color: oklch(51.8% 0.144 139.9);
Tailwind
colors: {
  custom: {
    50: '#73a261',
    500: '#337b20',
    950: '#000000',
  },
}
SCSS
$custom: #337b20;
$custom-light: #73a261;
$custom-dark: #000000;
JSON
{
  "hex": "#337b20",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 32
  },
  "hsl": {
    "h": 107.473,
    "s": 58.71,
    "l": 30.392
  },
  "oklch": {
    "l": 0.51771,
    "c": 0.14393,
    "h": 139.9
  },
  "luminance": 0.14974
}

Semantic roles & 50–950 ramp

primary
#337B20
secondary
#9949AE
accent
#46E2C1
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #337B20

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

Preview Lab → · Contrast checker → · Palette generator →

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