#337F40#337F40

#337F40 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.3% C 0.122 H 147.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#337F40
RGBrgb(51, 127, 64)
HSLhsl(130, 43%, 35%)
HSVhsv(130, 60%, 50%)
CMYKcmyk(59.8%, 0%, 49.6%, 50.2%)
CIE-LABlab(47.30, -37.77, 27.28)
CIE-LCHlch(47.30, 46.59, 144.16°)
OKLaboklab(53.29% -0.1022 0.0664)
OKLCHoklch(53.29% 0.122 147)
XYZxyz(9.8794, 16.2518, 7.4658)
Luminance0.1625 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F40 #7F3372
analogous
#4C7F33 #337F40 #337F66
triadic
#337F40 #40337F #7F4033
tetradic
#337F40 #334C7F #7F3372 #7F6633
square
#337F40 #334C7F #7F3372 #7F6633
split-complementary
#337F40 #66337F #7F334C
monochromatic
#102814 #21532A #337F40 #45AB56 #69C379

Accessibility & contrast

On white

4.94
#337F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#337F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F40
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F40#FFFFFF#000000##FFFFFF
##337F401.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81743B
Deuteranopia (green-blind)
#776E44
Tritanopia (blue-blind)
#227C70
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #337f40;
/* rgb */ color: rgb(51, 127, 64);
/* oklch */ color: oklch(53.3% 0.122 147.0);
Tailwind
colors: {
  custom: {
    50: '#72a576',
    500: '#337f40',
    950: '#000000',
  },
}
SCSS
$custom: #337f40;
$custom-light: #72a576;
$custom-dark: #000000;
JSON
{
  "hex": "#337f40",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 64
  },
  "hsl": {
    "h": 130.263,
    "s": 42.697,
    "l": 34.902
  },
  "oklch": {
    "l": 0.5329,
    "c": 0.12188,
    "h": 147
  },
  "luminance": 0.16253
}

Semantic roles & 50–950 ramp

primary
#337F40
secondary
#AB639F
accent
#55BDD2
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #337F40

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

Preview Lab → · Contrast checker → · Palette generator →

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