#337A3F#337A3F

#337A3F is a mid, moderate green. Relative luminance 0.150; OKLCH L 51.9% C 0.115 H 147.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#337A3F
RGBrgb(51, 122, 63)
HSLhsl(130, 41%, 34%)
HSVhsv(130, 58%, 48%)
CMYKcmyk(58.2%, 0%, 48.4%, 52.2%)
CIE-LABlab(45.61, -35.80, 25.69)
CIE-LCHlch(45.61, 44.07, 144.33°)
OKLaboklab(51.89% -0.0969 0.0627)
OKLCHoklch(51.89% 0.115 147.1)
XYZxyz(9.2214, 14.9809, 7.1073)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A3F #7A336E
analogous
#4B7A33 #337A3F #337A63
triadic
#337A3F #3F337A #7A3F33
tetradic
#337A3F #334B7A #7A336E #7A6333
square
#337A3F #334B7A #7A336E #7A6333
split-complementary
#337A3F #63337A #7A334B
monochromatic
#0F2412 #214F29 #337A3F #45A555 #68C077

Accessibility & contrast

On white

5.25
#337A3F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#337A3F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A3F
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A3F#FFFFFF#000000##FFFFFF
##337A3F1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B703A
Deuteranopia (green-blind)
#726943
Tritanopia (blue-blind)
#24776C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337a3f;
/* rgb */ color: rgb(51, 122, 63);
/* oklch */ color: oklch(51.9% 0.115 147.1);
Tailwind
colors: {
  custom: {
    50: '#72a175',
    500: '#337a3f',
    950: '#000000',
  },
}
SCSS
$custom: #337a3f;
$custom-light: #72a175;
$custom-dark: #000000;
JSON
{
  "hex": "#337a3f",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 63
  },
  "hsl": {
    "h": 130.141,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.51893,
    "c": 0.11547,
    "h": 147.1
  },
  "luminance": 0.14982
}

Semantic roles & 50–950 ramp

primary
#337A3F
secondary
#A8619C
accent
#57BCD1
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #337A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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