#337D40#337D40

#337D40 is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.7% C 0.119 H 147.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#337D40
RGBrgb(51, 125, 64)
HSLhsl(131, 42%, 35%)
HSVhsv(131, 59%, 49%)
CMYKcmyk(59.2%, 0%, 48.8%, 51%)
CIE-LABlab(46.63, -36.92, 26.44)
CIE-LCHlch(46.63, 45.41, 144.39°)
OKLaboklab(52.74% -0.0999 0.0645)
OKLCHoklch(52.74% 0.119 147.2)
XYZxyz(9.6236, 15.7403, 7.3805)
Luminance0.1574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D40 #7D3370
analogous
#4B7D33 #337D40 #337D65
triadic
#337D40 #40337D #7D4033
tetradic
#337D40 #334B7D #7D3370 #7D6533
square
#337D40 #334B7D #7D3370 #7D6533
split-complementary
#337D40 #65337D #7D334B
monochromatic
#102613 #21522A #337D40 #45A856 #69C278

Accessibility & contrast

On white

5.06
#337D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#337D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337D40
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D40#FFFFFF#000000##FFFFFF
##337D401.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E733B
Deuteranopia (green-blind)
#756C44
Tritanopia (blue-blind)
#237A6F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d40;
/* rgb */ color: rgb(51, 125, 64);
/* oklch */ color: oklch(52.7% 0.119 147.2);
Tailwind
colors: {
  custom: {
    50: '#72a376',
    500: '#337d40',
    950: '#000000',
  },
}
SCSS
$custom: #337d40;
$custom-light: #72a376;
$custom-dark: #000000;
JSON
{
  "hex": "#337d40",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 64
  },
  "hsl": {
    "h": 130.541,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.52739,
    "c": 0.11893,
    "h": 147.2
  },
  "luminance": 0.15741
}

Semantic roles & 50–950 ramp

primary
#337D40
secondary
#AA629D
accent
#56BCD2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #337D40

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

Preview Lab → · Contrast checker → · Palette generator →

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