#337A16#337A16

#337A16 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.4% C 0.149 H 138.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#337A16
RGBrgb(51, 122, 22)
HSLhsl(103, 69%, 28%)
HSVhsv(103, 82%, 48%)
CMYKcmyk(58.2%, 0%, 82%, 52.2%)
CIE-LABlab(45.19, -40.44, 44.13)
CIE-LCHlch(45.19, 59.86, 132.50°)
OKLaboklab(51.42% -0.1116 0.0981)
OKLCHoklch(51.42% 0.149 138.7)
XYZxyz(8.4693, 14.6801, 3.1461)
Luminance0.1468 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A16 #5D167A
analogous
#657A16 #337A16 #167A2B
triadic
#337A16 #16337A #7A1633
tetradic
#337A16 #16657A #5D167A #7A2B16
square
#337A16 #16657A #5D167A #7A2B16
split-complementary
#337A16 #2B167A #7A1665
monochromatic
#0B1A05 #1D460D #337A16 #49AE1F #62DA31

Accessibility & contrast

On white

5.34
#337A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#337A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A16
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A16#FFFFFF#000000##FFFFFF
##337A161.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#756922
Tritanopia (blue-blind)
#2C7668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a16;
/* rgb */ color: rgb(51, 122, 22);
/* oklch */ color: oklch(51.4% 0.149 138.7);
Tailwind
colors: {
  custom: {
    50: '#74a15c',
    500: '#337a16',
    950: '#000000',
  },
}
SCSS
$custom: #337a16;
$custom-light: #74a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#337a16",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 22
  },
  "hsl": {
    "h": 102.6,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51417,
    "c": 0.14857,
    "h": 138.7
  },
  "luminance": 0.14681
}

Semantic roles & 50–950 ramp

primary
#337A16
secondary
#8E3DAF
accent
#3CECB9
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #337A16

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

Preview Lab → · Contrast checker → · Palette generator →

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