#337D2F#337D2F

#337D2F is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.135 H 142.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#337D2F
RGBrgb(51, 125, 47)
HSLhsl(117, 45%, 34%)
HSVhsv(117, 62%, 49%)
CMYKcmyk(59.2%, 0%, 62.4%, 51%)
CIE-LABlab(46.41, -39.35, 35.00)
CIE-LCHlch(46.41, 52.66, 138.35°)
OKLaboklab(52.49% -0.1071 0.0821)
OKLCHoklch(52.49% 0.135 142.5)
XYZxyz(9.2115, 15.5755, 5.2097)
Luminance0.1558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D2F #792F7D
analogous
#5A7D2F #337D2F #2F7D52
triadic
#337D2F #2F337D #7D2F33
tetradic
#337D2F #2F5A7D #792F7D #7D522F
square
#337D2F #2F5A7D #792F7D #7D522F
split-complementary
#337D2F #522F7D #7D2F5A
monochromatic
#0F240E #21511E #337D2F #45A940 #67C462

Accessibility & contrast

On white

5.10
#337D2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#337D2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337D2F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D2F#FFFFFF#000000##FFFFFF
##337D2F1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807227
Deuteranopia (green-blind)
#766C35
Tritanopia (blue-blind)
#27796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d2f;
/* rgb */ color: rgb(51, 125, 47);
/* oklch */ color: oklch(52.5% 0.135 142.5);
Tailwind
colors: {
  custom: {
    50: '#73a36a',
    500: '#337d2f',
    950: '#000000',
  },
}
SCSS
$custom: #337d2f;
$custom-light: #73a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#337d2f",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 47
  },
  "hsl": {
    "h": 116.923,
    "s": 45.349,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52487,
    "c": 0.135,
    "h": 142.5
  },
  "luminance": 0.15576
}

Semantic roles & 50–950 ramp

primary
#337D2F
secondary
#A75DAB
accent
#53D5CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #337D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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