#337B4C#337B4C

#337B4C is a mid, moderate green. Relative luminance 0.154; OKLCH L 52.4% C 0.104 H 152.5°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#337B4C
RGBrgb(51, 123, 76)
HSLhsl(141, 41%, 34%)
HSVhsv(141, 59%, 48%)
CMYKcmyk(58.5%, 0%, 38.2%, 51.8%)
CIE-LABlab(46.16, -33.88, 19.12)
CIE-LCHlch(46.16, 38.90, 150.55°)
OKLaboklab(52.42% -0.0919 0.0478)
OKLCHoklch(52.42% 0.104 152.5)
XYZxyz(9.7520, 15.3906, 9.2929)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B4C #7B3362
analogous
#3E7B33 #337B4C #337B70
triadic
#337B4C #4C337B #7B4C33
tetradic
#337B4C #333E7B #7B3362 #7B7033
square
#337B4C #333E7B #7B3362 #7B7033
split-complementary
#337B4C #70337B #7B333E
monochromatic
#0F2417 #215031 #337B4C #45A667 #68C087

Accessibility & contrast

On white

5.15
#337B4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#337B4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B4C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B4C#FFFFFF#000000##FFFFFF
##337B4C1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7249
Deuteranopia (green-blind)
#716B4F
Tritanopia (blue-blind)
#1F796F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337b4c;
/* rgb */ color: rgb(51, 123, 76);
/* oklch */ color: oklch(52.4% 0.104 152.5);
Tailwind
colors: {
  custom: {
    50: '#71a27e',
    500: '#337b4c',
    950: '#000000',
  },
}
SCSS
$custom: #337b4c;
$custom-light: #71a27e;
$custom-dark: #000000;
JSON
{
  "hex": "#337b4c",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 76
  },
  "hsl": {
    "h": 140.833,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.1036,
    "h": 152.5
  },
  "luminance": 0.15392
}

Semantic roles & 50–950 ramp

primary
#337B4C
secondary
#A86290
accent
#57A7D1
background
#F7FAF7
surface
#EDF3EE
border
#C8CDC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #337B4C

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

Preview Lab → · Contrast checker → · Palette generator →

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