#337A39#337A39

#337A39 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.8% C 0.121 H 145.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#337A39
RGBrgb(51, 122, 57)
HSLhsl(125, 41%, 34%)
HSVhsv(125, 58%, 48%)
CMYKcmyk(58.2%, 0%, 53.3%, 52.2%)
CIE-LABlab(45.52, -36.75, 28.83)
CIE-LCHlch(45.52, 46.71, 141.89°)
OKLaboklab(51.79% -0.0996 0.0695)
OKLCHoklch(51.79% 0.121 145.1)
XYZxyz(9.0628, 14.9175, 6.2719)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A39 #7A3374
analogous
#517A33 #337A39 #337A5D
triadic
#337A39 #39337A #7A3933
tetradic
#337A39 #33517A #7A3374 #7A5D33
square
#337A39 #33517A #7A3374 #7A5D33
split-complementary
#337A39 #5D337A #7A3351
monochromatic
#0F2411 #214F25 #337A39 #45A54D #68C06F

Accessibility & contrast

On white

5.27
#337A39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#337A39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A39
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A39#FFFFFF#000000##FFFFFF
##337A391.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7033
Deuteranopia (green-blind)
#73693E
Tritanopia (blue-blind)
#26776B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337a39;
/* rgb */ color: rgb(51, 122, 57);
/* oklch */ color: oklch(51.8% 0.121 145.1);
Tailwind
colors: {
  custom: {
    50: '#72a171',
    500: '#337a39',
    950: '#000000',
  },
}
SCSS
$custom: #337a39;
$custom-light: #72a171;
$custom-dark: #000000;
JSON
{
  "hex": "#337a39",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 57
  },
  "hsl": {
    "h": 125.07,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.51793,
    "c": 0.12148,
    "h": 145.1
  },
  "luminance": 0.14918
}

Semantic roles & 50–950 ramp

primary
#337A39
secondary
#A861A2
accent
#57C7D1
background
#F7FAF6
surface
#EDF3EC
border
#C8CDC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #337A39

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

Preview Lab → · Contrast checker → · Palette generator →

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