#337D3A#337D3A

#337D3A is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.125 H 145.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#337D3A
RGBrgb(51, 125, 58)
HSLhsl(126, 42%, 35%)
HSVhsv(126, 59%, 49%)
CMYKcmyk(59.2%, 0%, 53.6%, 51%)
CIE-LABlab(46.55, -37.86, 29.56)
CIE-LCHlch(46.55, 48.03, 142.03°)
OKLaboklab(52.64% -0.1026 0.0711)
OKLCHoklch(52.64% 0.125 145.3)
XYZxyz(9.4620, 15.6757, 6.5292)
Luminance0.1568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D3A #7D3376
analogous
#517D33 #337D3A #337D5F
triadic
#337D3A #3A337D #7D3A33
tetradic
#337D3A #33517D #7D3376 #7D5F33
square
#337D3A #33517D #7D3376 #7D5F33
split-complementary
#337D3A #5F337D #7D3351
monochromatic
#102612 #215226 #337D3A #45A84E #69C271

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337D3A#FFFFFF#000000##FFFFFF
##337D3A1.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)
#7F7234
Deuteranopia (green-blind)
#756C3F
Tritanopia (blue-blind)
#257A6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d3a;
/* rgb */ color: rgb(51, 125, 58);
/* oklch */ color: oklch(52.6% 0.125 145.3);
Tailwind
colors: {
  custom: {
    50: '#72a372',
    500: '#337d3a',
    950: '#000000',
  },
}
SCSS
$custom: #337d3a;
$custom-light: #72a372;
$custom-dark: #000000;
JSON
{
  "hex": "#337d3a",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 58
  },
  "hsl": {
    "h": 125.676,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.5264,
    "c": 0.12487,
    "h": 145.3
  },
  "luminance": 0.15677
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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