#337222#337222

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

Color values

HEX#337222
RGBrgb(51, 114, 34)
HSLhsl(107, 54%, 29%)
HSVhsv(107, 70%, 45%)
CMYKcmyk(55.3%, 0%, 70.2%, 55.3%)
CIE-LABlab(42.54, -36.26, 36.80)
CIE-LCHlch(42.54, 51.66, 134.57°)
OKLaboklab(49.26% -0.0996 0.0845)
OKLCHoklch(49.26% 0.131 139.7)
XYZxyz(7.6710, 12.8533, 3.5898)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337222 #612272
analogous
#5B7222 #337222 #227239
triadic
#337222 #223372 #722233
tetradic
#337222 #225B72 #612272 #723922
square
#337222 #225B72 #612272 #723922
split-complementary
#337222 #392272 #72225B
monochromatic
#0B1807 #1E4314 #337222 #48A130 #62C846

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337222#FFFFFF#000000##FFFFFF
##3372221.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)
#756817
Deuteranopia (green-blind)
#6D6229
Tritanopia (blue-blind)
#2D6E62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337222;
/* rgb */ color: rgb(51, 114, 34);
/* oklch */ color: oklch(49.3% 0.131 139.7);
Tailwind
colors: {
  custom: {
    50: '#729b61',
    500: '#337222',
    950: '#000000',
  },
}
SCSS
$custom: #337222;
$custom-light: #729b61;
$custom-dark: #000000;
JSON
{
  "hex": "#337222",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 34
  },
  "hsl": {
    "h": 107.25,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49257,
    "c": 0.13058,
    "h": 139.7
  },
  "luminance": 0.12854
}

Semantic roles & 50–950 ramp

primary
#337222
secondary
#924BA5
accent
#4ADDBE
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #337222

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

Preview Lab → · Contrast checker → · Palette generator →

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