#337B45#337B45

#337B45 is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.3% C 0.111 H 149.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#337B45
RGBrgb(51, 123, 69)
HSLhsl(135, 41%, 34%)
HSVhsv(135, 59%, 48%)
CMYKcmyk(58.5%, 0%, 43.9%, 51.8%)
CIE-LABlab(46.04, -35.20, 22.92)
CIE-LCHlch(46.04, 42.00, 146.93°)
OKLaboklab(52.28% -0.0953 0.0566)
OKLCHoklch(52.28% 0.111 149.3)
XYZxyz(9.5217, 15.2985, 8.0802)
Luminance0.1530 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B45 #7B3369
analogous
#457B33 #337B45 #337B69
triadic
#337B45 #45337B #7B4533
tetradic
#337B45 #33457B #7B3369 #7B6933
square
#337B45 #33457B #7B3369 #7B6933
split-complementary
#337B45 #69337B #7B3345
monochromatic
#0F2414 #21502D #337B45 #45A65D #68C07E

Accessibility & contrast

On white

5.17
#337B45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#337B45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B45
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B45#FFFFFF#000000##FFFFFF
##337B451.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7141
Deuteranopia (green-blind)
#726A49
Tritanopia (blue-blind)
#22796E
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337b45;
/* rgb */ color: rgb(51, 123, 69);
/* oklch */ color: oklch(52.3% 0.111 149.3);
Tailwind
colors: {
  custom: {
    50: '#72a279',
    500: '#337b45',
    950: '#000000',
  },
}
SCSS
$custom: #337b45;
$custom-light: #72a279;
$custom-dark: #000000;
JSON
{
  "hex": "#337b45",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 69
  },
  "hsl": {
    "h": 135,
    "s": 41.379,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52279,
    "c": 0.11083,
    "h": 149.3
  },
  "luminance": 0.15299
}

Semantic roles & 50–950 ramp

primary
#337B45
secondary
#A86297
accent
#57B3D1
background
#F7FAF7
surface
#EDF3ED
border
#C8CDC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #337B45

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

Preview Lab → · Contrast checker → · Palette generator →

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