#337D3C#337D3C

#337D3C is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.7% C 0.123 H 145.9°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#337D3C
RGBrgb(51, 125, 60)
HSLhsl(127, 42%, 35%)
HSVhsv(127, 59%, 49%)
CMYKcmyk(59.2%, 0%, 52%, 51%)
CIE-LABlab(46.57, -37.56, 28.53)
CIE-LCHlch(46.57, 47.16, 142.78°)
OKLaboklab(52.67% -0.1017 0.069)
OKLCHoklch(52.67% 0.123 145.9)
XYZxyz(9.5139, 15.6964, 6.8024)
Luminance0.1570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D3C #7D3374
analogous
#4F7D33 #337D3C #337D61
triadic
#337D3C #3C337D #7D3C33
tetradic
#337D3C #334F7D #7D3374 #7D6133
square
#337D3C #334F7D #7D3374 #7D6133
split-complementary
#337D3C #61337D #7D334F
monochromatic
#102612 #215227 #337D3C #45A851 #69C274

Accessibility & contrast

On white

5.07
#337D3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #337D3C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D3C#FFFFFF#000000##FFFFFF
##337D3C1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7236
Deuteranopia (green-blind)
#756C41
Tritanopia (blue-blind)
#247A6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d3c;
/* rgb */ color: rgb(51, 125, 60);
/* oklch */ color: oklch(52.7% 0.123 145.9);
Tailwind
colors: {
  custom: {
    50: '#72a373',
    500: '#337d3c',
    950: '#000000',
  },
}
SCSS
$custom: #337d3c;
$custom-light: #72a373;
$custom-dark: #000000;
JSON
{
  "hex": "#337d3c",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 60
  },
  "hsl": {
    "h": 127.297,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.52672,
    "c": 0.12291,
    "h": 145.9
  },
  "luminance": 0.15697
}

Semantic roles & 50–950 ramp

primary
#337D3C
secondary
#AA62A1
accent
#56C3D2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #337D3C

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

Preview Lab → · Contrast checker → · Palette generator →

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