#337D3D#337D3D

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

Color values

HEX#337D3D
RGBrgb(51, 125, 61)
HSLhsl(128, 42%, 35%)
HSVhsv(128, 59%, 49%)
CMYKcmyk(59.2%, 0%, 51.2%, 51%)
CIE-LABlab(46.59, -37.40, 28.01)
CIE-LCHlch(46.59, 46.73, 143.17°)
OKLaboklab(52.69% -0.1013 0.0679)
OKLCHoklch(52.69% 0.122 146.2)
XYZxyz(9.5406, 15.7071, 6.9430)
Luminance0.1571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D3D #7D3373
analogous
#4E7D33 #337D3D #337D62
triadic
#337D3D #3D337D #7D3D33
tetradic
#337D3D #334E7D #7D3373 #7D6233
square
#337D3D #334E7D #7D3373 #7D6233
split-complementary
#337D3D #62337D #7D334E
monochromatic
#102613 #215228 #337D3D #45A852 #69C275

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337D3D#FFFFFF#000000##FFFFFF
##337D3D1.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)
#7F7238
Deuteranopia (green-blind)
#756C41
Tritanopia (blue-blind)
#247A6E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d3d;
/* rgb */ color: rgb(51, 125, 61);
/* oklch */ color: oklch(52.7% 0.122 146.2);
Tailwind
colors: {
  custom: {
    50: '#72a374',
    500: '#337d3d',
    950: '#000000',
  },
}
SCSS
$custom: #337d3d;
$custom-light: #72a374;
$custom-dark: #000000;
JSON
{
  "hex": "#337d3d",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 61
  },
  "hsl": {
    "h": 128.108,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.52688,
    "c": 0.12192,
    "h": 146.2
  },
  "luminance": 0.15708
}

Semantic roles & 50–950 ramp

primary
#337D3D
secondary
#AA62A0
accent
#56C1D2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #337D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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