#337C42#337C42

#337C42 is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.5% C 0.115 H 148.0°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#337C42
RGBrgb(51, 124, 66)
HSLhsl(132, 42%, 34%)
HSVhsv(132, 59%, 49%)
CMYKcmyk(58.9%, 0%, 46.8%, 51.4%)
CIE-LABlab(46.33, -36.16, 24.96)
CIE-LCHlch(46.33, 43.93, 145.39°)
OKLaboklab(52.5% -0.0979 0.0612)
OKLCHoklch(52.5% 0.115 148)
XYZxyz(9.5556, 15.5116, 7.6437)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C42 #7C336D
analogous
#497C33 #337C42 #337C67
triadic
#337C42 #42337C #7C4233
tetradic
#337C42 #33497C #7C336D #7C6733
square
#337C42 #33497C #7C336D #7C6733
split-complementary
#337C42 #67337C #7C3349
monochromatic
#0F2514 #21512B #337C42 #45A759 #68C17B

Accessibility & contrast

On white

5.12
#337C42 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#337C42 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337C42
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337C42#FFFFFF#000000##FFFFFF
##337C421.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D723E
Deuteranopia (green-blind)
#746B46
Tritanopia (blue-blind)
#227A6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337c42;
/* rgb */ color: rgb(51, 124, 66);
/* oklch */ color: oklch(52.5% 0.115 148.0);
Tailwind
colors: {
  custom: {
    50: '#72a277',
    500: '#337c42',
    950: '#000000',
  },
}
SCSS
$custom: #337c42;
$custom-light: #72a277;
$custom-dark: #000000;
JSON
{
  "hex": "#337c42",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 66
  },
  "hsl": {
    "h": 132.329,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.52498,
    "c": 0.11541,
    "h": 148
  },
  "luminance": 0.15512
}

Semantic roles & 50–950 ramp

primary
#337C42
secondary
#A9629A
accent
#56B8D2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F09
muted
#7B7F7B

Preview Lab

Preview with #337C42

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

Preview Lab → · Contrast checker → · Palette generator →

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