#337C4F#337C4F

#337C4F is a mid, moderate green. Relative luminance 0.157; OKLCH L 52.8% C 0.102 H 153.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#337C4F
RGBrgb(51, 124, 79)
HSLhsl(143, 42%, 34%)
HSVhsv(143, 59%, 49%)
CMYKcmyk(58.9%, 0%, 36.3%, 51.4%)
CIE-LABlab(46.56, -33.72, 17.93)
CIE-LCHlch(46.56, 38.19, 152.00°)
OKLaboklab(52.76% -0.0916 0.045)
OKLCHoklch(52.76% 0.102 153.8)
XYZxyz(9.9834, 15.6827, 9.8966)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C4F #7C3360
analogous
#3C7C33 #337C4F #337C74
triadic
#337C4F #4F337C #7C4F33
tetradic
#337C4F #333C7C #7C3360 #7C7433
square
#337C4F #333C7C #7C3360 #7C7433
split-complementary
#337C4F #74337C #7C333C
monochromatic
#0F2518 #215133 #337C4F #45A76B #68C18A

Accessibility & contrast

On white

5.08
#337C4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#337C4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337C4F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337C4F#FFFFFF#000000##FFFFFF
##337C4F1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734C
Deuteranopia (green-blind)
#726C52
Tritanopia (blue-blind)
#1D7B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337c4f;
/* rgb */ color: rgb(51, 124, 79);
/* oklch */ color: oklch(52.8% 0.102 153.8);
Tailwind
colors: {
  custom: {
    50: '#72a280',
    500: '#337c4f',
    950: '#000000',
  },
}
SCSS
$custom: #337c4f;
$custom-light: #72a280;
$custom-dark: #000000;
JSON
{
  "hex": "#337c4f",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 79
  },
  "hsl": {
    "h": 143.014,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5276,
    "c": 0.10206,
    "h": 153.8
  },
  "luminance": 0.15684
}

Semantic roles & 50–950 ramp

primary
#337C4F
secondary
#A9628E
accent
#56A2D2
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#080F0A
muted
#7B7F7C

Preview Lab

Preview with #337C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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