#337D42#337D42

#337D42 is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.8% C 0.117 H 147.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#337D42
RGBrgb(51, 125, 66)
HSLhsl(132, 42%, 35%)
HSVhsv(132, 59%, 49%)
CMYKcmyk(59.2%, 0%, 47.2%, 51%)
CIE-LABlab(46.66, -36.59, 25.38)
CIE-LCHlch(46.66, 44.53, 145.25°)
OKLaboklab(52.77% -0.099 0.0622)
OKLCHoklch(52.77% 0.117 147.9)
XYZxyz(9.6816, 15.7635, 7.6857)
Luminance0.1576 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D42 #7D336E
analogous
#497D33 #337D42 #337D67
triadic
#337D42 #42337D #7D4233
tetradic
#337D42 #33497D #7D336E #7D6733
square
#337D42 #33497D #7D336E #7D6733
split-complementary
#337D42 #67337D #7D3349
monochromatic
#102614 #21522B #337D42 #45A859 #69C27B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337D42#FFFFFF#000000##FFFFFF
##337D421.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)
#7E733D
Deuteranopia (green-blind)
#746C46
Tritanopia (blue-blind)
#227A6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337d42;
/* rgb */ color: rgb(51, 125, 66);
/* oklch */ color: oklch(52.8% 0.117 147.9);
Tailwind
colors: {
  custom: {
    50: '#72a377',
    500: '#337d42',
    950: '#000000',
  },
}
SCSS
$custom: #337d42;
$custom-light: #72a377;
$custom-dark: #000000;
JSON
{
  "hex": "#337d42",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 66
  },
  "hsl": {
    "h": 132.162,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.52774,
    "c": 0.11691,
    "h": 147.9
  },
  "luminance": 0.15764
}

Semantic roles & 50–950 ramp

primary
#337D42
secondary
#AA629B
accent
#56B9D2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #337D42

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

Preview Lab → · Contrast checker → · Palette generator →

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