#337D31#337D31

#337D31 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.133 H 143.0°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#337D31
RGBrgb(51, 125, 49)
HSLhsl(118, 44%, 34%)
HSVhsv(118, 61%, 49%)
CMYKcmyk(59.2%, 0%, 60.8%, 51%)
CIE-LABlab(46.43, -39.10, 34.04)
CIE-LCHlch(46.43, 51.85, 138.96°)
OKLaboklab(52.51% -0.1064 0.0803)
OKLCHoklch(52.51% 0.133 143)
XYZxyz(9.2527, 15.5920, 5.4271)
Luminance0.1559 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D31 #7B317D
analogous
#597D31 #337D31 #317D55
triadic
#337D31 #31337D #7D3133
tetradic
#337D31 #31597D #7B317D #7D5531
square
#337D31 #31597D #7B317D #7D5531
split-complementary
#337D31 #55317D #7D3159
monochromatic
#0F250F #215120 #337D31 #45A942 #68C366

Accessibility & contrast

On white

5.10
#337D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#337D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337D31
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D31#FFFFFF#000000##FFFFFF
##337D311.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807229
Deuteranopia (green-blind)
#766C37
Tritanopia (blue-blind)
#27796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d31;
/* rgb */ color: rgb(51, 125, 49);
/* oklch */ color: oklch(52.5% 0.133 143.0);
Tailwind
colors: {
  custom: {
    50: '#73a36c',
    500: '#337d31',
    950: '#000000',
  },
}
SCSS
$custom: #337d31;
$custom-light: #73a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#337d31",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 49
  },
  "hsl": {
    "h": 118.421,
    "s": 43.678,
    "l": 34.118
  },
  "oklch": {
    "l": 0.52512,
    "c": 0.13325,
    "h": 143
  },
  "luminance": 0.15593
}

Semantic roles & 50–950 ramp

primary
#337D31
secondary
#A860AA
accent
#54D3D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #337D31

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

Preview Lab → · Contrast checker → · Palette generator →

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