#337E4C#337E4C

#337E4C is a mid, moderate green. Relative luminance 0.161; OKLCH L 53.2% C 0.108 H 151.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#337E4C
RGBrgb(51, 126, 76)
HSLhsl(140, 42%, 35%)
HSVhsv(140, 60%, 49%)
CMYKcmyk(59.5%, 0%, 39.7%, 50.6%)
CIE-LABlab(47.17, -35.21, 20.45)
CIE-LCHlch(47.17, 40.72, 149.84°)
OKLaboklab(53.24% -0.0954 0.051)
OKLCHoklch(53.24% 0.108 151.9)
XYZxyz(10.1298, 16.1464, 9.4188)
Luminance0.1615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E4C #7E3365
analogous
#407E33 #337E4C #337E72
triadic
#337E4C #4C337E #7E4C33
tetradic
#337E4C #33407E #7E3365 #7E7233
square
#337E4C #33407E #7E3365 #7E7233
split-complementary
#337E4C #72337E #7E3340
monochromatic
#102717 #215232 #337E4C #45AA66 #69C287

Accessibility & contrast

On white

4.97
#337E4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#337E4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337E4C
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337E4C#FFFFFF#000000##FFFFFF
##337E4C1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7449
Deuteranopia (green-blind)
#746D4F
Tritanopia (blue-blind)
#1D7C71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #337e4c;
/* rgb */ color: rgb(51, 126, 76);
/* oklch */ color: oklch(53.2% 0.108 151.9);
Tailwind
colors: {
  custom: {
    50: '#72a47e',
    500: '#337e4c',
    950: '#000000',
  },
}
SCSS
$custom: #337e4c;
$custom-light: #72a47e;
$custom-dark: #000000;
JSON
{
  "hex": "#337e4c",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 76
  },
  "hsl": {
    "h": 140,
    "s": 42.373,
    "l": 34.706
  },
  "oklch": {
    "l": 0.53242,
    "c": 0.10817,
    "h": 151.9
  },
  "luminance": 0.16147
}

Semantic roles & 50–950 ramp

primary
#337E4C
secondary
#AA6392
accent
#56A9D2
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #337E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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