#337C3A#337C3A

#337C3A is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.4% C 0.123 H 145.3°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#337C3A
RGBrgb(51, 124, 58)
HSLhsl(126, 42%, 34%)
HSVhsv(126, 59%, 49%)
CMYKcmyk(58.9%, 0%, 53.2%, 51.4%)
CIE-LABlab(46.21, -37.44, 29.14)
CIE-LCHlch(46.21, 47.45, 142.11°)
OKLaboklab(52.36% -0.1015 0.0702)
OKLCHoklch(52.36% 0.123 145.3)
XYZxyz(9.3361, 15.4238, 6.4873)
Luminance0.1542 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C3A #7C3375
analogous
#517C33 #337C3A #337C5F
triadic
#337C3A #3A337C #7C3A33
tetradic
#337C3A #33517C #7C3375 #7C5F33
square
#337C3A #33517C #7C3375 #7C5F33
split-complementary
#337C3A #5F337C #7C3351
monochromatic
#0F2511 #215126 #337C3A #45A74E #68C171

Accessibility & contrast

On white

5.14
#337C3A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#337C3A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337C3A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337C3A#FFFFFF#000000##FFFFFF
##337C3A1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7134
Deuteranopia (green-blind)
#746B3F
Tritanopia (blue-blind)
#25796D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337c3a;
/* rgb */ color: rgb(51, 124, 58);
/* oklch */ color: oklch(52.4% 0.123 145.3);
Tailwind
colors: {
  custom: {
    50: '#72a372',
    500: '#337c3a',
    950: '#000000',
  },
}
SCSS
$custom: #337c3a;
$custom-light: #72a372;
$custom-dark: #000000;
JSON
{
  "hex": "#337c3a",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 58
  },
  "hsl": {
    "h": 125.753,
    "s": 41.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.52363,
    "c": 0.12342,
    "h": 145.3
  },
  "luminance": 0.15425
}

Semantic roles & 50–950 ramp

primary
#337C3A
secondary
#A962A2
accent
#56C6D2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #337C3A

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

Preview Lab → · Contrast checker → · Palette generator →

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