#337D2E#337D2E

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

Color values

HEX#337D2E
RGBrgb(51, 125, 46)
HSLhsl(116, 46%, 34%)
HSVhsv(116, 63%, 49%)
CMYKcmyk(59.2%, 0%, 63.2%, 51%)
CIE-LABlab(46.40, -39.47, 35.47)
CIE-LCHlch(46.40, 53.07, 138.05°)
OKLaboklab(52.48% -0.1075 0.0831)
OKLCHoklch(52.48% 0.136 142.3)
XYZxyz(9.1915, 15.5675, 5.1047)
Luminance0.1557 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D2E #782E7D
analogous
#5A7D2E #337D2E #2E7D50
triadic
#337D2E #2E337D #7D2E33
tetradic
#337D2E #2E5A7D #782E7D #7D502E
square
#337D2E #2E5A7D #782E7D #7D502E
split-complementary
#337D2E #502E7D #7D2E5A
monochromatic
#0E240D #21501E #337D2E #45AA3E #67C561

Accessibility & contrast

On white

5.11
#337D2E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#337D2E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337D2E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D2E#FFFFFF#000000##FFFFFF
##337D2E1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807225
Deuteranopia (green-blind)
#766B34
Tritanopia (blue-blind)
#28796C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d2e;
/* rgb */ color: rgb(51, 125, 46);
/* oklch */ color: oklch(52.5% 0.136 142.3);
Tailwind
colors: {
  custom: {
    50: '#73a36a',
    500: '#337d2e',
    950: '#000000',
  },
}
SCSS
$custom: #337d2e;
$custom-light: #73a36a;
$custom-dark: #000000;
JSON
{
  "hex": "#337d2e",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 46
  },
  "hsl": {
    "h": 116.203,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.52475,
    "c": 0.13587,
    "h": 142.3
  },
  "luminance": 0.15568
}

Semantic roles & 50–950 ramp

primary
#337D2E
secondary
#A65BAB
accent
#52D6CE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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