#337F31#337F31

#337F31 is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.1% C 0.136 H 142.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#337F31
RGBrgb(51, 127, 49)
HSLhsl(118, 44%, 35%)
HSVhsv(118, 61%, 50%)
CMYKcmyk(59.8%, 0%, 61.4%, 50.2%)
CIE-LABlab(47.11, -39.92, 34.82)
CIE-LCHlch(47.11, 52.97, 138.90°)
OKLaboklab(53.07% -0.1086 0.082)
OKLCHoklch(53.07% 0.136 142.9)
XYZxyz(9.5085, 16.1035, 5.5123)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F31 #7D317F
analogous
#5A7F31 #337F31 #317F56
triadic
#337F31 #31337F #7F3133
tetradic
#337F31 #315A7F #7D317F #7F5631
square
#337F31 #315A7F #7D317F #7F5631
split-complementary
#337F31 #56317F #7F315A
monochromatic
#10270F #215320 #337F31 #45AB42 #69C466

Accessibility & contrast

On white

4.98
#337F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#337F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F31
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F31#FFFFFF#000000##FFFFFF
##337F311.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827429
Deuteranopia (green-blind)
#786D37
Tritanopia (blue-blind)
#267B6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #337f31;
/* rgb */ color: rgb(51, 127, 49);
/* oklch */ color: oklch(53.1% 0.136 142.9);
Tailwind
colors: {
  custom: {
    50: '#73a56c',
    500: '#337f31',
    950: '#000000',
  },
}
SCSS
$custom: #337f31;
$custom-light: #73a56c;
$custom-dark: #000000;
JSON
{
  "hex": "#337f31",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 49
  },
  "hsl": {
    "h": 118.462,
    "s": 44.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53069,
    "c": 0.13602,
    "h": 142.9
  },
  "luminance": 0.16104
}

Semantic roles & 50–950 ramp

primary
#337F31
secondary
#AA60AB
accent
#54D4D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #337F31

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

Preview Lab → · Contrast checker → · Palette generator →

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