#337A17#337A17

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

Color values

HEX#337A17
RGBrgb(51, 122, 23)
HSLhsl(103, 68%, 28%)
HSVhsv(103, 81%, 48%)
CMYKcmyk(58.2%, 0%, 81.1%, 52.2%)
CIE-LABlab(45.20, -40.37, 43.81)
CIE-LCHlch(45.20, 59.57, 132.66°)
OKLaboklab(51.42% -0.1114 0.0975)
OKLCHoklch(51.42% 0.148 138.8)
XYZxyz(8.4791, 14.6840, 3.1979)
Luminance0.1469 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A17 #5E177A
analogous
#647A17 #337A17 #177A2C
triadic
#337A17 #17337A #7A1733
tetradic
#337A17 #17647A #5E177A #7A2C17
square
#337A17 #17647A #5E177A #7A2C17
split-complementary
#337A17 #2C177A #7A1764
monochromatic
#0B1A05 #1D470D #337A17 #49AD21 #62D933

Accessibility & contrast

On white

5.33
#337A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #337A17
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A17#FFFFFF#000000##FFFFFF
##337A171.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.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: #337a17;
/* rgb */ color: rgb(51, 122, 23);
/* oklch */ color: oklch(51.4% 0.148 138.8);
Tailwind
colors: {
  custom: {
    50: '#74a15d',
    500: '#337a17',
    950: '#000000',
  },
}
SCSS
$custom: #337a17;
$custom-light: #74a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#337a17",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 103.03,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51423,
    "c": 0.14805,
    "h": 138.8
  },
  "luminance": 0.14685
}

Semantic roles & 50–950 ramp

primary
#337A17
secondary
#8F3EAF
accent
#3DEBBA
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337A17

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

Preview Lab → · Contrast checker → · Palette generator →

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