#337A1B#337A1B

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

Color values

HEX#337A1B
RGBrgb(51, 122, 27)
HSLhsl(105, 64%, 29%)
HSVhsv(105, 78%, 48%)
CMYKcmyk(58.2%, 0%, 77.9%, 52.2%)
CIE-LABlab(45.22, -40.10, 42.42)
CIE-LCHlch(45.22, 58.37, 133.39°)
OKLaboklab(51.45% -0.1104 0.0953)
OKLCHoklch(51.45% 0.146 139.2)
XYZxyz(8.5223, 14.7013, 3.4252)
Luminance0.1470 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A1B #621B7A
analogous
#637A1B #337A1B #1B7A33
triadic
#337A1B #1B337A #7A1B33
tetradic
#337A1B #1B637A #621B7A #7A331B
square
#337A1B #1B637A #621B7A #7A331B
split-complementary
#337A1B #331B7A #7A1B63
monochromatic
#0A1906 #1E4810 #337A1B #48AC26 #62D43C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337A1B#FFFFFF#000000##FFFFFF
##337A1B1.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)
#7E6F07
Deuteranopia (green-blind)
#756925
Tritanopia (blue-blind)
#2B7668
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a1b;
/* rgb */ color: rgb(51, 122, 27);
/* oklch */ color: oklch(51.4% 0.146 139.2);
Tailwind
colors: {
  custom: {
    50: '#73a15f',
    500: '#337a1b',
    950: '#000000',
  },
}
SCSS
$custom: #337a1b;
$custom-light: #73a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#337a1b",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 27
  },
  "hsl": {
    "h": 104.842,
    "s": 63.758,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5145,
    "c": 0.14582,
    "h": 139.2
  },
  "luminance": 0.14702
}

Semantic roles & 50–950 ramp

primary
#337A1B
secondary
#9343AE
accent
#41E7BD
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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