#337A2F#337A2F

#337A2F is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.6% C 0.131 H 142.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#337A2F
RGBrgb(51, 122, 47)
HSLhsl(117, 44%, 33%)
HSVhsv(117, 61%, 48%)
CMYKcmyk(58.2%, 0%, 61.5%, 52.2%)
CIE-LABlab(45.40, -38.13, 33.83)
CIE-LCHlch(45.40, 50.97, 138.41°)
OKLaboklab(51.65% -0.1038 0.0796)
OKLCHoklch(51.65% 0.131 142.5)
XYZxyz(8.8374, 14.8274, 5.0850)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A2F #762F7A
analogous
#587A2F #337A2F #2F7A50
triadic
#337A2F #2F337A #7A2F33
tetradic
#337A2F #2F587A #762F7A #7A502F
square
#337A2F #2F587A #762F7A #7A502F
split-complementary
#337A2F #502F7A #7A2F58
monochromatic
#0E220D #214E1E #337A2F #45A640 #66C261

Accessibility & contrast

On white

5.30
#337A2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#337A2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A2F
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A2F#FFFFFF#000000##FFFFFF
##337A2F1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6F27
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#28766A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337a2f;
/* rgb */ color: rgb(51, 122, 47);
/* oklch */ color: oklch(51.6% 0.131 142.5);
Tailwind
colors: {
  custom: {
    50: '#72a16a',
    500: '#337a2f',
    950: '#000000',
  },
}
SCSS
$custom: #337a2f;
$custom-light: #72a16a;
$custom-dark: #000000;
JSON
{
  "hex": "#337a2f",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 47
  },
  "hsl": {
    "h": 116.8,
    "s": 44.379,
    "l": 33.137
  },
  "oklch": {
    "l": 0.5165,
    "c": 0.13084,
    "h": 142.5
  },
  "luminance": 0.14828
}

Semantic roles & 50–950 ramp

primary
#337A2F
secondary
#A55CA9
accent
#54D4CD
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #337A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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