#337A1C#337A1C

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

Color values

HEX#337A1C
RGBrgb(51, 122, 28)
HSLhsl(105, 63%, 29%)
HSVhsv(105, 77%, 48%)
CMYKcmyk(58.2%, 0%, 77%, 52.2%)
CIE-LABlab(45.23, -40.02, 42.05)
CIE-LCHlch(45.23, 58.05, 133.58°)
OKLaboklab(51.46% -0.1101 0.0946)
OKLCHoklch(51.46% 0.145 139.3)
XYZxyz(8.5340, 14.7060, 3.4872)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A1C #631C7A
analogous
#627A1C #337A1C #1C7A34
triadic
#337A1C #1C337A #7A1C33
tetradic
#337A1C #1C627A #631C7A #7A341C
square
#337A1C #1C627A #631C7A #7A341C
split-complementary
#337A1C #341C7A #7A1C62
monochromatic
#0A1906 #1E4811 #337A1C #48AC27 #62D33E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337A1C#FFFFFF#000000##FFFFFF
##337A1C1.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)
#7E6F09
Deuteranopia (green-blind)
#756926
Tritanopia (blue-blind)
#2B7668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a1c;
/* rgb */ color: rgb(51, 122, 28);
/* oklch */ color: oklch(51.5% 0.145 139.3);
Tailwind
colors: {
  custom: {
    50: '#73a15f',
    500: '#337a1c',
    950: '#000000',
  },
}
SCSS
$custom: #337a1c;
$custom-light: #73a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#337a1c",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 105.319,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51458,
    "c": 0.14522,
    "h": 139.3
  },
  "luminance": 0.14707
}

Semantic roles & 50–950 ramp

primary
#337A1C
secondary
#9444AE
accent
#42E6BE
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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