#337F3C#337F3C

#337F3C is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.126 H 145.7°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#337F3C
RGBrgb(51, 127, 60)
HSLhsl(127, 43%, 35%)
HSVhsv(127, 60%, 50%)
CMYKcmyk(59.8%, 0%, 52.8%, 50.2%)
CIE-LABlab(47.25, -38.40, 29.36)
CIE-LCHlch(47.25, 48.33, 142.60°)
OKLaboklab(53.23% -0.104 0.0708)
OKLCHoklch(53.23% 0.126 145.7)
XYZxyz(9.7696, 16.2079, 6.8877)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F3C #7F3376
analogous
#507F33 #337F3C #337F62
triadic
#337F3C #3C337F #7F3C33
tetradic
#337F3C #33507F #7F3376 #7F6233
square
#337F3C #33507F #7F3376 #7F6233
split-complementary
#337F3C #62337F #7F3350
monochromatic
#102813 #215327 #337F3C #45AB51 #69C374

Accessibility & contrast

On white

4.95
#337F3C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#337F3C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F3C
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F3C#FFFFFF#000000##FFFFFF
##337F3C1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817436
Deuteranopia (green-blind)
#776D41
Tritanopia (blue-blind)
#237C70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #337f3c;
/* rgb */ color: rgb(51, 127, 60);
/* oklch */ color: oklch(53.2% 0.126 145.7);
Tailwind
colors: {
  custom: {
    50: '#73a573',
    500: '#337f3c',
    950: '#000000',
  },
}
SCSS
$custom: #337f3c;
$custom-light: #73a573;
$custom-dark: #000000;
JSON
{
  "hex": "#337f3c",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 60
  },
  "hsl": {
    "h": 127.105,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.53225,
    "c": 0.12581,
    "h": 145.7
  },
  "luminance": 0.16209
}

Semantic roles & 50–950 ramp

primary
#337F3C
secondary
#AB63A2
accent
#55C4D2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #337F3C

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

Preview Lab → · Contrast checker → · Palette generator →

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