#337221#337221

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

Color values

HEX#337221
RGBrgb(51, 114, 33)
HSLhsl(107, 55%, 29%)
HSVhsv(107, 71%, 45%)
CMYKcmyk(55.3%, 0%, 71.1%, 55.3%)
CIE-LABlab(42.53, -36.35, 37.24)
CIE-LCHlch(42.53, 52.04, 134.31°)
OKLaboklab(49.25% -0.0999 0.0853)
OKLCHoklch(49.25% 0.131 139.5)
XYZxyz(7.6568, 12.8476, 3.5149)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337221 #602172
analogous
#5C7221 #337221 #217238
triadic
#337221 #213372 #722133
tetradic
#337221 #215C72 #602172 #723821
square
#337221 #215C72 #602172 #723821
split-complementary
#337221 #382172 #72215C
monochromatic
#0B1807 #1E4313 #337221 #48A12F #62C944

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337221#FFFFFF#000000##FFFFFF
##3372211.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)
#756816
Deuteranopia (green-blind)
#6D6228
Tritanopia (blue-blind)
#2D6E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337221;
/* rgb */ color: rgb(51, 114, 33);
/* oklch */ color: oklch(49.2% 0.131 139.5);
Tailwind
colors: {
  custom: {
    50: '#729b61',
    500: '#337221',
    950: '#000000',
  },
}
SCSS
$custom: #337221;
$custom-light: #729b61;
$custom-dark: #000000;
JSON
{
  "hex": "#337221",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 33
  },
  "hsl": {
    "h": 106.667,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49247,
    "c": 0.13134,
    "h": 139.5
  },
  "luminance": 0.12848
}

Semantic roles & 50–950 ramp

primary
#337221
secondary
#9149A5
accent
#49DEBD
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #337221

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

Preview Lab → · Contrast checker → · Palette generator →

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