#337140#337140

#337140 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.4% C 0.101 H 148.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#337140
RGBrgb(51, 113, 64)
HSLhsl(133, 38%, 32%)
HSVhsv(133, 55%, 44%)
CMYKcmyk(54.9%, 0%, 43.4%, 55.7%)
CIE-LABlab(42.59, -31.64, 21.26)
CIE-LCHlch(42.59, 38.12, 146.10°)
OKLaboklab(49.42% -0.0858 0.0526)
OKLCHoklch(49.42% 0.101 148.5)
XYZxyz(8.1953, 12.8836, 6.9044)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337140 #713364
analogous
#457133 #337140 #33715F
triadic
#337140 #403371 #714033
tetradic
#337140 #334571 #713364 #715F33
square
#337140 #334571 #713364 #715F33
split-complementary
#337140 #5F3371 #713345
monochromatic
#0D1D10 #204728 #337140 #469B58 #65B977

Accessibility & contrast

On white

5.87
#337140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#337140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337140
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337140#FFFFFF#000000##FFFFFF
##3371401.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72683C
Deuteranopia (green-blind)
#696243
Tritanopia (blue-blind)
#266F65
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #337140;
/* rgb */ color: rgb(51, 113, 64);
/* oklch */ color: oklch(49.4% 0.101 148.5);
Tailwind
colors: {
  custom: {
    50: '#709a75',
    500: '#337140',
    950: '#000000',
  },
}
SCSS
$custom: #337140;
$custom-light: #709a75;
$custom-dark: #000000;
JSON
{
  "hex": "#337140",
  "rgb": {
    "r": 51,
    "g": 113,
    "b": 64
  },
  "hsl": {
    "h": 132.581,
    "s": 37.805,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4942,
    "c": 0.10061,
    "h": 148.5
  },
  "luminance": 0.12884
}

Semantic roles & 50–950 ramp

primary
#337140
secondary
#A25E93
accent
#5AB5CE
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #337140

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

Preview Lab → · Contrast checker → · Palette generator →

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