#337A22#337A22

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

Color values

HEX#337A22
RGBrgb(51, 122, 34)
HSLhsl(108, 56%, 31%)
HSVhsv(108, 72%, 48%)
CMYKcmyk(58.2%, 0%, 72.1%, 52.2%)
CIE-LABlab(45.27, -39.52, 39.69)
CIE-LCHlch(45.27, 56.02, 134.88°)
OKLaboklab(51.51% -0.1084 0.0906)
OKLCHoklch(51.51% 0.141 140.1)
XYZxyz(8.6131, 14.7376, 3.9038)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A22 #69227A
analogous
#5F7A22 #337A22 #227A3D
triadic
#337A22 #22337A #7A2233
tetradic
#337A22 #225F7A #69227A #7A3D22
square
#337A22 #225F7A #69227A #7A3D22
split-complementary
#337A22 #3D227A #7A225F
monochromatic
#0B1A07 #1F4A15 #337A22 #47AA2F #63CD4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337A22#FFFFFF#000000##FFFFFF
##337A221.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)
#7D6F15
Deuteranopia (green-blind)
#74692A
Tritanopia (blue-blind)
#2B7668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a22;
/* rgb */ color: rgb(51, 122, 34);
/* oklch */ color: oklch(51.5% 0.141 140.1);
Tailwind
colors: {
  custom: {
    50: '#73a162',
    500: '#337a22',
    950: '#000000',
  },
}
SCSS
$custom: #337a22;
$custom-light: #73a162;
$custom-dark: #000000;
JSON
{
  "hex": "#337a22",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 34
  },
  "hsl": {
    "h": 108.409,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51508,
    "c": 0.14125,
    "h": 140.1
  },
  "luminance": 0.14738
}

Semantic roles & 50–950 ramp

primary
#337A22
secondary
#9A4BAD
accent
#48E0C2
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #337A22

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

Preview Lab → · Contrast checker → · Palette generator →

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