#337A34#337A34

#337A34 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.126 H 143.7°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#337A34
RGBrgb(51, 122, 52)
HSLhsl(121, 41%, 34%)
HSVhsv(121, 58%, 48%)
CMYKcmyk(58.2%, 0%, 57.4%, 52.2%)
CIE-LABlab(45.46, -37.47, 31.37)
CIE-LCHlch(45.46, 48.87, 140.06°)
OKLaboklab(51.72% -0.1018 0.0747)
OKLCHoklch(51.72% 0.126 143.7)
XYZxyz(8.9441, 14.8700, 5.6470)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337A34 #7A3379
analogous
#567A33 #337A34 #337A58
triadic
#337A34 #34337A #7A3433
tetradic
#337A34 #33567A #7A3379 #7A5833
square
#337A34 #33567A #7A3379 #7A5833
split-complementary
#337A34 #58337A #7A3356
monochromatic
#0F240F #214F22 #337A34 #45A546 #68C069

Accessibility & contrast

On white

5.28
#337A34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#337A34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337A34
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337A34#FFFFFF#000000##FFFFFF
##337A341.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6F2D
Deuteranopia (green-blind)
#736939
Tritanopia (blue-blind)
#27776A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337a34;
/* rgb */ color: rgb(51, 122, 52);
/* oklch */ color: oklch(51.7% 0.126 143.7);
Tailwind
colors: {
  custom: {
    50: '#72a16d',
    500: '#337a34',
    950: '#000000',
  },
}
SCSS
$custom: #337a34;
$custom-light: #72a16d;
$custom-dark: #000000;
JSON
{
  "hex": "#337a34",
  "rgb": {
    "r": 51,
    "g": 122,
    "b": 52
  },
  "hsl": {
    "h": 120.845,
    "s": 41.04,
    "l": 33.922
  },
  "oklch": {
    "l": 0.51718,
    "c": 0.12628,
    "h": 143.7
  },
  "luminance": 0.14871
}

Semantic roles & 50–950 ramp

primary
#337A34
secondary
#A861A7
accent
#57CFD1
background
#F7FAF6
surface
#EDF3EC
border
#C8CDC7
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #337A34

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

Preview Lab → · Contrast checker → · Palette generator →

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