#337941#337941

#337941 is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.7% C 0.112 H 147.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#337941
RGBrgb(51, 121, 65)
HSLhsl(132, 41%, 34%)
HSVhsv(132, 58%, 47%)
CMYKcmyk(57.9%, 0%, 46.3%, 52.5%)
CIE-LABlab(45.30, -35.03, 24.20)
CIE-LCHlch(45.30, 42.58, 145.36°)
OKLaboklab(51.65% -0.0948 0.0594)
OKLCHoklch(51.65% 0.112 147.9)
XYZxyz(9.1561, 14.7594, 7.3663)
Luminance0.1476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337941 #79336B
analogous
#487933 #337941 #337964
triadic
#337941 #413379 #794133
tetradic
#337941 #334879 #79336B #796433
square
#337941 #334879 #79336B #796433
split-complementary
#337941 #643379 #793348
monochromatic
#0F2313 #214E2A #337941 #45A458 #67BF79

Accessibility & contrast

On white

5.31
#337941 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#337941 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337941
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337941#FFFFFF#000000##FFFFFF
##3379411.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3D
Deuteranopia (green-blind)
#716945
Tritanopia (blue-blind)
#24776B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #337941;
/* rgb */ color: rgb(51, 121, 65);
/* oklch */ color: oklch(51.7% 0.112 147.9);
Tailwind
colors: {
  custom: {
    50: '#71a076',
    500: '#337941',
    950: '#000000',
  },
}
SCSS
$custom: #337941;
$custom-light: #71a076;
$custom-dark: #000000;
JSON
{
  "hex": "#337941",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 65
  },
  "hsl": {
    "h": 132,
    "s": 40.698,
    "l": 33.725
  },
  "oklch": {
    "l": 0.51652,
    "c": 0.11191,
    "h": 147.9
  },
  "luminance": 0.1476
}

Semantic roles & 50–950 ramp

primary
#337941
secondary
#A76199
accent
#57B8D1
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080F08
muted
#7B7E7B

Preview Lab

Preview with #337941

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

Preview Lab → · Contrast checker → · Palette generator →

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