#337740#337740

#337740 is a mid, moderate green. Relative luminance 0.143; OKLCH L 51.1% C 0.110 H 147.8°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#337740
RGBrgb(51, 119, 64)
HSLhsl(131, 40%, 33%)
HSVhsv(131, 57%, 47%)
CMYKcmyk(57.1%, 0%, 46.2%, 53.3%)
CIE-LABlab(44.61, -34.33, 23.87)
CIE-LCHlch(44.61, 41.81, 145.18°)
OKLaboklab(51.08% -0.093 0.0586)
OKLCHoklch(51.08% 0.11 147.8)
XYZxyz(8.8869, 14.2669, 7.1350)
Luminance0.1427 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337740 #77336A
analogous
#487733 #337740 #337762
triadic
#337740 #403377 #774033
tetradic
#337740 #334877 #77336A #776233
square
#337740 #334877 #77336A #776233
split-complementary
#337740 #623377 #773348
monochromatic
#0E2112 #214C29 #337740 #45A257 #67BE77

Accessibility & contrast

On white

5.45
#337740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#337740 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337740
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337740#FFFFFF#000000##FFFFFF
##3377401.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3C
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#25756A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #337740;
/* rgb */ color: rgb(51, 119, 64);
/* oklch */ color: oklch(51.1% 0.110 147.8);
Tailwind
colors: {
  custom: {
    50: '#719f75',
    500: '#337740',
    950: '#000000',
  },
}
SCSS
$custom: #337740;
$custom-light: #719f75;
$custom-dark: #000000;
JSON
{
  "hex": "#337740",
  "rgb": {
    "r": 51,
    "g": 119,
    "b": 64
  },
  "hsl": {
    "h": 131.471,
    "s": 40,
    "l": 33.333
  },
  "oklch": {
    "l": 0.51081,
    "c": 0.1099,
    "h": 147.8
  },
  "luminance": 0.14268
}

Semantic roles & 50–950 ramp

primary
#337740
secondary
#A66098
accent
#58B9D0
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #337740

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

Preview Lab → · Contrast checker → · Palette generator →

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