#337F45#337F45

#337F45 is a mid, moderate green. Relative luminance 0.163; OKLCH L 53.4% C 0.117 H 148.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#337F45
RGBrgb(51, 127, 69)
HSLhsl(134, 43%, 35%)
HSVhsv(134, 60%, 50%)
CMYKcmyk(59.8%, 0%, 45.7%, 50.2%)
CIE-LABlab(47.38, -36.93, 24.65)
CIE-LCHlch(47.38, 44.40, 146.28°)
OKLaboklab(53.38% -0.0999 0.0606)
OKLCHoklch(53.38% 0.117 148.8)
XYZxyz(10.0281, 16.3113, 8.2490)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F45 #7F336D
analogous
#477F33 #337F45 #337F6B
triadic
#337F45 #45337F #7F4533
tetradic
#337F45 #33477F #7F336D #7F6B33
square
#337F45 #33477F #7F336D #7F6B33
split-complementary
#337F45 #6B337F #7F3347
monochromatic
#102816 #21532D #337F45 #45AB5D #69C37F

Accessibility & contrast

On white

4.93
#337F45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#337F45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F45
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F45#FFFFFF#000000##FFFFFF
##337F451.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807541
Deuteranopia (green-blind)
#766E49
Tritanopia (blue-blind)
#207D71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #337f45;
/* rgb */ color: rgb(51, 127, 69);
/* oklch */ color: oklch(53.4% 0.117 148.8);
Tailwind
colors: {
  custom: {
    50: '#72a579',
    500: '#337f45',
    950: '#000000',
  },
}
SCSS
$custom: #337f45;
$custom-light: #72a579;
$custom-dark: #000000;
JSON
{
  "hex": "#337f45",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 69
  },
  "hsl": {
    "h": 134.211,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53379,
    "c": 0.11684,
    "h": 148.8
  },
  "luminance": 0.16312
}

Semantic roles & 50–950 ramp

primary
#337F45
secondary
#AB639A
accent
#55B5D2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #337F45

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

Preview Lab → · Contrast checker → · Palette generator →

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