#337220#337220

#337220 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.2% C 0.132 H 139.4°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#337220
RGBrgb(51, 114, 32)
HSLhsl(106, 56%, 29%)
HSVhsv(106, 72%, 45%)
CMYKcmyk(55.3%, 0%, 71.9%, 55.3%)
CIE-LABlab(42.52, -36.45, 37.66)
CIE-LCHlch(42.52, 52.41, 134.06°)
OKLaboklab(49.24% -0.1002 0.086)
OKLCHoklch(49.24% 0.132 139.4)
XYZxyz(7.6430, 12.8421, 3.4422)
Luminance0.1284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337220 #5F2072
analogous
#5C7220 #337220 #207236
triadic
#337220 #203372 #722033
tetradic
#337220 #205C72 #5F2072 #723620
square
#337220 #205C72 #5F2072 #723620
split-complementary
#337220 #362072 #72205C
monochromatic
#0B1807 #1E4213 #337220 #48A22D #62CA42

Accessibility & contrast

On white

5.88
#337220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#337220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337220
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337220#FFFFFF#000000##FFFFFF
##3372201.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756814
Deuteranopia (green-blind)
#6D6228
Tritanopia (blue-blind)
#2D6E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337220;
/* rgb */ color: rgb(51, 114, 32);
/* oklch */ color: oklch(49.2% 0.132 139.4);
Tailwind
colors: {
  custom: {
    50: '#729b60',
    500: '#337220',
    950: '#000000',
  },
}
SCSS
$custom: #337220;
$custom-light: #729b60;
$custom-dark: #000000;
JSON
{
  "hex": "#337220",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 106.098,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.49238,
    "c": 0.13207,
    "h": 139.4
  },
  "luminance": 0.12843
}

Semantic roles & 50–950 ramp

primary
#337220
secondary
#9048A6
accent
#48DFBC
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #337220

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

Preview Lab → · Contrast checker → · Palette generator →

#337220 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva