#337A14#337A14

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

Color values

HEX#337A14
RGBrgb(51, 122, 20)
HSLhsl(102, 72%, 28%)
HSVhsv(102, 84%, 48%)
CMYKcmyk(58.2%, 0%, 83.6%, 52.2%)
CIE-LABlab(45.18, -40.56, 44.76)
CIE-LCHlch(45.18, 60.40, 132.18°)
OKLaboklab(51.41% -0.112 0.0991)
OKLCHoklch(51.41% 0.15 138.5)
XYZxyz(8.4507, 14.6727, 3.0485)
Luminance0.1467 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A14 #5B147A
analogous
#667A14 #337A14 #147A28
triadic
#337A14 #14337A #7A1433
tetradic
#337A14 #14667A #5B147A #7A2814
square
#337A14 #14667A #5B147A #7A2814
split-complementary
#337A14 #28147A #7A1466
monochromatic
#0B1A04 #1D450B #337A14 #49AF1D #62DC2C

Accessibility & contrast

On white

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

On black

3.93
#337A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##337A14#FFFFFF#000000##FFFFFF
##337A141.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337a14;
/* rgb */ color: rgb(51, 122, 20);
/* oklch */ color: oklch(51.4% 0.150 138.5);
Tailwind
colors: {
  custom: {
    50: '#74a15c',
    500: '#337a14',
    950: '#000000',
  },
}
SCSS
$custom: #337a14;
$custom-light: #74a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#337a14",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 20
  },
  "hsl": {
    "h": 101.765,
    "s": 71.831,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51405,
    "c": 0.14956,
    "h": 138.5
  },
  "luminance": 0.14673
}

Semantic roles & 50–950 ramp

primary
#337A14
secondary
#8C3AB0
accent
#39EFB7
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #337A14

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

Preview Lab → · Contrast checker → · Palette generator →

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