#337F2B#337F2B

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

Color values

HEX#337F2B
RGBrgb(51, 127, 43)
HSLhsl(114, 49%, 33%)
HSVhsv(114, 66%, 50%)
CMYKcmyk(59.8%, 0%, 66.1%, 50.2%)
CIE-LABlab(47.05, -40.61, 37.62)
CIE-LCHlch(47.05, 55.36, 137.20°)
OKLaboklab(53% -0.1108 0.0873)
OKLCHoklch(53% 0.141 141.8)
XYZxyz(9.3902, 16.0561, 4.8893)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F2B #772B7F
analogous
#5D7F2B #337F2B #2B7F4D
triadic
#337F2B #2B337F #7F2B33
tetradic
#337F2B #2B5D7F #772B7F #7F4D2B
square
#337F2B #2B5D7F #772B7F #7F4D2B
split-complementary
#337F2B #4D2B7F #7F2B5D
monochromatic
#0E240C #21511C #337F2B #45AD3A #67C85C

Accessibility & contrast

On white

4.99
#337F2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#337F2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F2B
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F2B#FFFFFF#000000##FFFFFF
##337F2B1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827421
Deuteranopia (green-blind)
#786D32
Tritanopia (blue-blind)
#287B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #337f2b;
/* rgb */ color: rgb(51, 127, 43);
/* oklch */ color: oklch(53.0% 0.141 141.8);
Tailwind
colors: {
  custom: {
    50: '#73a568',
    500: '#337f2b',
    950: '#000000',
  },
}
SCSS
$custom: #337f2b;
$custom-light: #73a568;
$custom-dark: #000000;
JSON
{
  "hex": "#337f2b",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 43
  },
  "hsl": {
    "h": 114.286,
    "s": 49.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.52998,
    "c": 0.14105,
    "h": 141.8
  },
  "luminance": 0.16057
}

Semantic roles & 50–950 ramp

primary
#337F2B
secondary
#A658AE
accent
#4FD9CC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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