#337F2F#337F2F

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

Color values

HEX#337F2F
RGBrgb(51, 127, 47)
HSLhsl(117, 46%, 34%)
HSVhsv(117, 63%, 50%)
CMYKcmyk(59.8%, 0%, 63%, 50.2%)
CIE-LABlab(47.09, -40.16, 35.77)
CIE-LCHlch(47.09, 53.78, 138.31°)
OKLaboklab(53.04% -0.1093 0.0838)
OKLCHoklch(53.04% 0.138 142.5)
XYZxyz(9.4672, 16.0869, 5.2950)
Luminance0.1609 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F2F #7B2F7F
analogous
#5B7F2F #337F2F #2F7F53
triadic
#337F2F #2F337F #7F2F33
tetradic
#337F2F #2F5B7F #7B2F7F #7F532F
square
#337F2F #2F5B7F #7B2F7F #7F532F
split-complementary
#337F2F #532F7F #7F2F5B
monochromatic
#0F260E #21521E #337F2F #45AC40 #68C563

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337F2F#FFFFFF#000000##FFFFFF
##337F2F1.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)
#827426
Deuteranopia (green-blind)
#786D36
Tritanopia (blue-blind)
#277B6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #337f2f;
/* rgb */ color: rgb(51, 127, 47);
/* oklch */ color: oklch(53.0% 0.138 142.5);
Tailwind
colors: {
  custom: {
    50: '#73a56b',
    500: '#337f2f',
    950: '#000000',
  },
}
SCSS
$custom: #337f2f;
$custom-light: #73a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#337f2f",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 47
  },
  "hsl": {
    "h": 117,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.53044,
    "c": 0.13775,
    "h": 142.5
  },
  "luminance": 0.16088
}

Semantic roles & 50–950 ramp

primary
#337F2F
secondary
#A85EAC
accent
#52D6CF
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #337F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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