#337E31#337E31

#337E31 is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.8% C 0.135 H 143.0°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#337E31
RGBrgb(51, 126, 49)
HSLhsl(118, 44%, 34%)
HSVhsv(118, 61%, 49%)
CMYKcmyk(59.5%, 0%, 61.1%, 50.6%)
CIE-LABlab(46.77, -39.51, 34.43)
CIE-LCHlch(46.77, 52.41, 138.93°)
OKLaboklab(52.79% -0.1075 0.0811)
OKLCHoklch(52.79% 0.135 143)
XYZxyz(9.3800, 15.8464, 5.4695)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E31 #7C317E
analogous
#5A7E31 #337E31 #317E56
triadic
#337E31 #31337E #7E3133
tetradic
#337E31 #315A7E #7C317E #7E5631
square
#337E31 #315A7E #7C317E #7E5631
split-complementary
#337E31 #56317E #7E315A
monochromatic
#0F260F #215220 #337E31 #45AA42 #68C366

Accessibility & contrast

On white

5.04
#337E31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#337E31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337E31
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337E31#FFFFFF#000000##FFFFFF
##337E311.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817329
Deuteranopia (green-blind)
#776C37
Tritanopia (blue-blind)
#277A6D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337e31;
/* rgb */ color: rgb(51, 126, 49);
/* oklch */ color: oklch(52.8% 0.135 143.0);
Tailwind
colors: {
  custom: {
    50: '#73a46c',
    500: '#337e31',
    950: '#000000',
  },
}
SCSS
$custom: #337e31;
$custom-light: #73a46c;
$custom-dark: #000000;
JSON
{
  "hex": "#337e31",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 49
  },
  "hsl": {
    "h": 118.442,
    "s": 44,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5279,
    "c": 0.13464,
    "h": 143
  },
  "luminance": 0.15847
}

Semantic roles & 50–950 ramp

primary
#337E31
secondary
#A960AB
accent
#54D4D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #337E31

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

Preview Lab → · Contrast checker → · Palette generator →

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