#337A45#337A45

#337A45 is a mid, moderate green. Relative luminance 0.151; OKLCH L 52.0% C 0.109 H 149.4°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#337A45
RGBrgb(51, 122, 69)
HSLhsl(135, 41%, 34%)
HSVhsv(135, 58%, 48%)
CMYKcmyk(58.2%, 0%, 43.4%, 52.2%)
CIE-LABlab(45.70, -34.76, 22.48)
CIE-LCHlch(45.70, 41.40, 147.10°)
OKLaboklab(52% -0.0941 0.0556)
OKLCHoklch(52% 0.109 149.4)
XYZxyz(9.3983, 15.0517, 8.0391)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A45 #7A3368
analogous
#457A33 #337A45 #337A69
triadic
#337A45 #45337A #7A4533
tetradic
#337A45 #33457A #7A3368 #7A6933
square
#337A45 #33457A #7A3368 #7A6933
split-complementary
#337A45 #69337A #7A3345
monochromatic
#0F2414 #214F2D #337A45 #45A55D #68C07E

Accessibility & contrast

On white

5.24
#337A45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#337A45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A45
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A45#FFFFFF#000000##FFFFFF
##337A451.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7041
Deuteranopia (green-blind)
#716A48
Tritanopia (blue-blind)
#22786D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337a45;
/* rgb */ color: rgb(51, 122, 69);
/* oklch */ color: oklch(52.0% 0.109 149.4);
Tailwind
colors: {
  custom: {
    50: '#71a179',
    500: '#337a45',
    950: '#000000',
  },
}
SCSS
$custom: #337a45;
$custom-light: #71a179;
$custom-dark: #000000;
JSON
{
  "hex": "#337a45",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 69
  },
  "hsl": {
    "h": 135.211,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.52004,
    "c": 0.10931,
    "h": 149.4
  },
  "luminance": 0.15053
}

Semantic roles & 50–950 ramp

primary
#337A45
secondary
#A86196
accent
#57B2D1
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #337A45

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

Preview Lab → · Contrast checker → · Palette generator →

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