#337A42#337A42

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

Color values

HEX#337A42
RGBrgb(51, 122, 66)
HSLhsl(133, 41%, 34%)
HSVhsv(133, 58%, 48%)
CMYKcmyk(58.2%, 0%, 45.9%, 52.2%)
CIE-LABlab(45.66, -35.29, 24.10)
CIE-LCHlch(45.66, 42.73, 145.68°)
OKLaboklab(51.95% -0.0955 0.0592)
OKLCHoklch(51.95% 0.112 148.2)
XYZxyz(9.3075, 15.0154, 7.5610)
Luminance0.1502 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A42 #7A336B
analogous
#487A33 #337A42 #337A66
triadic
#337A42 #42337A #7A4233
tetradic
#337A42 #33487A #7A336B #7A6633
square
#337A42 #33487A #7A336B #7A6633
split-complementary
#337A42 #66337A #7A3348
monochromatic
#0F2413 #214F2B #337A42 #45A559 #68C07A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337A42#FFFFFF#000000##FFFFFF
##337A421.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)
#7B703E
Deuteranopia (green-blind)
#726A46
Tritanopia (blue-blind)
#23786C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337a42;
/* rgb */ color: rgb(51, 122, 66);
/* oklch */ color: oklch(51.9% 0.112 148.2);
Tailwind
colors: {
  custom: {
    50: '#72a177',
    500: '#337a42',
    950: '#000000',
  },
}
SCSS
$custom: #337a42;
$custom-light: #72a177;
$custom-dark: #000000;
JSON
{
  "hex": "#337a42",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 66
  },
  "hsl": {
    "h": 132.676,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.51947,
    "c": 0.1124,
    "h": 148.2
  },
  "luminance": 0.15016
}

Semantic roles & 50–950 ramp

primary
#337A42
secondary
#A86199
accent
#57B7D1
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #337A42

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

Preview Lab → · Contrast checker → · Palette generator →

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