#337D39#337D39

#337D39 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.126 H 145.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#337D39
RGBrgb(51, 125, 57)
HSLhsl(125, 42%, 35%)
HSVhsv(125, 59%, 49%)
CMYKcmyk(59.2%, 0%, 54.4%, 51%)
CIE-LABlab(46.53, -38.01, 30.07)
CIE-LCHlch(46.53, 48.47, 141.66°)
OKLaboklab(52.63% -0.103 0.0722)
OKLCHoklch(52.63% 0.126 145)
XYZxyz(9.4368, 15.6656, 6.3966)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D39 #7D3377
analogous
#527D33 #337D39 #337D5E
triadic
#337D39 #39337D #7D3933
tetradic
#337D39 #33527D #7D3377 #7D5E33
square
#337D39 #33527D #7D3377 #7D5E33
split-complementary
#337D39 #5E337D #7D3352
monochromatic
#102611 #215225 #337D39 #45A84D #69C270

Accessibility & contrast

On white

5.08
#337D39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#337D39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337D39
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D39#FFFFFF#000000##FFFFFF
##337D391.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7233
Deuteranopia (green-blind)
#756C3E
Tritanopia (blue-blind)
#257A6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d39;
/* rgb */ color: rgb(51, 125, 57);
/* oklch */ color: oklch(52.6% 0.126 145.0);
Tailwind
colors: {
  custom: {
    50: '#72a371',
    500: '#337d39',
    950: '#000000',
  },
}
SCSS
$custom: #337d39;
$custom-light: #72a371;
$custom-dark: #000000;
JSON
{
  "hex": "#337d39",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 57
  },
  "hsl": {
    "h": 124.865,
    "s": 42.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.52625,
    "c": 0.12583,
    "h": 145
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#337D39
secondary
#AA62A4
accent
#56C8D2
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B

Preview Lab

Preview with #337D39

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

Preview Lab → · Contrast checker → · Palette generator →

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