#337F2C#337F2C

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

Color values

HEX#337F2C
RGBrgb(51, 127, 44)
HSLhsl(115, 49%, 34%)
HSVhsv(115, 65%, 50%)
CMYKcmyk(59.8%, 0%, 65.4%, 50.2%)
CIE-LABlab(47.06, -40.50, 37.16)
CIE-LCHlch(47.06, 54.97, 137.46°)
OKLaboklab(53.01% -0.1104 0.0865)
OKLCHoklch(53.01% 0.14 141.9)
XYZxyz(9.4088, 16.0636, 4.9871)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F2C #782C7F
analogous
#5C7F2C #337F2C #2C7F4E
triadic
#337F2C #2C337F #7F2C33
tetradic
#337F2C #2C5C7F #782C7F #7F4E2C
square
#337F2C #2C5C7F #782C7F #7F4E2C
split-complementary
#337F2C #4E2C7F #7F2C5C
monochromatic
#0E240D #21521C #337F2C #45AC3C #67C75E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337F2C#FFFFFF#000000##FFFFFF
##337F2C1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827422
Deuteranopia (green-blind)
#786D33
Tritanopia (blue-blind)
#287B6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #337f2c;
/* rgb */ color: rgb(51, 127, 44);
/* oklch */ color: oklch(53.0% 0.140 141.9);
Tailwind
colors: {
  custom: {
    50: '#73a569',
    500: '#337f2c',
    950: '#000000',
  },
}
SCSS
$custom: #337f2c;
$custom-light: #73a569;
$custom-dark: #000000;
JSON
{
  "hex": "#337f2c",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 44
  },
  "hsl": {
    "h": 114.94,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.53009,
    "c": 0.14024,
    "h": 141.9
  },
  "luminance": 0.16064
}

Semantic roles & 50–950 ramp

primary
#337F2C
secondary
#A659AD
accent
#50D8CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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