#337540#337540

#337540 is a mid, moderate green. Relative luminance 0.138; OKLCH L 50.5% C 0.107 H 148.0°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#337540
RGBrgb(51, 117, 64)
HSLhsl(132, 39%, 33%)
HSVhsv(132, 56%, 46%)
CMYKcmyk(56.4%, 0%, 45.3%, 54.1%)
CIE-LABlab(43.94, -33.44, 23.01)
CIE-LCHlch(43.94, 40.59, 145.47°)
OKLaboklab(50.53% -0.0906 0.0566)
OKLCHoklch(50.53% 0.107 148)
XYZxyz(8.6514, 13.7958, 7.0564)
Luminance0.1380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337540 #753368
analogous
#477533 #337540 #337561
triadic
#337540 #403375 #754033
tetradic
#337540 #334775 #753368 #756133
square
#337540 #334775 #753368 #756133
split-complementary
#337540 #613375 #753347
monochromatic
#0E2011 #204A29 #337540 #46A057 #66BC77

Accessibility & contrast

On white

5.59
#337540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#337540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337540
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337540#FFFFFF#000000##FFFFFF
##3375401.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766C3C
Deuteranopia (green-blind)
#6D6543
Tritanopia (blue-blind)
#257368
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #337540;
/* rgb */ color: rgb(51, 117, 64);
/* oklch */ color: oklch(50.5% 0.107 148.0);
Tailwind
colors: {
  custom: {
    50: '#719d75',
    500: '#337540',
    950: '#000000',
  },
}
SCSS
$custom: #337540;
$custom-light: #719d75;
$custom-dark: #000000;
JSON
{
  "hex": "#337540",
  "rgb": {
    "r": 51,
    "g": 117,
    "b": 64
  },
  "hsl": {
    "h": 131.818,
    "s": 39.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.50528,
    "c": 0.10684,
    "h": 148
  },
  "luminance": 0.13797
}

Semantic roles & 50–950 ramp

primary
#337540
secondary
#A45F97
accent
#59B8CF
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #337540

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

Preview Lab → · Contrast checker → · Palette generator →

#337540 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva