#337B2F#337B2F

#337B2F is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.132 H 142.5°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#337B2F
RGBrgb(51, 123, 47)
HSLhsl(117, 45%, 33%)
HSVhsv(117, 62%, 48%)
CMYKcmyk(58.5%, 0%, 61.8%, 51.8%)
CIE-LABlab(45.74, -38.54, 34.22)
CIE-LCHlch(45.74, 51.54, 138.39°)
OKLaboklab(51.93% -0.1049 0.0805)
OKLCHoklch(51.93% 0.132 142.5)
XYZxyz(8.9608, 15.0742, 5.1262)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B2F #772F7B
analogous
#597B2F #337B2F #2F7B51
triadic
#337B2F #2F337B #7B2F33
tetradic
#337B2F #2F597B #772F7B #7B512F
square
#337B2F #2F597B #772F7B #7B512F
split-complementary
#337B2F #512F7B #7B2F59
monochromatic
#0E220D #214F1E #337B2F #45A740 #67C362

Accessibility & contrast

On white

5.23
#337B2F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#337B2F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B2F
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B2F#FFFFFF#000000##FFFFFF
##337B2F1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7027
Deuteranopia (green-blind)
#746A35
Tritanopia (blue-blind)
#28776B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b2f;
/* rgb */ color: rgb(51, 123, 47);
/* oklch */ color: oklch(51.9% 0.132 142.5);
Tailwind
colors: {
  custom: {
    50: '#72a26a',
    500: '#337b2f',
    950: '#000000',
  },
}
SCSS
$custom: #337b2f;
$custom-light: #72a26a;
$custom-dark: #000000;
JSON
{
  "hex": "#337b2f",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 47
  },
  "hsl": {
    "h": 116.842,
    "s": 44.706,
    "l": 33.333
  },
  "oklch": {
    "l": 0.51929,
    "c": 0.13223,
    "h": 142.5
  },
  "luminance": 0.15075
}

Semantic roles & 50–950 ramp

primary
#337B2F
secondary
#A65CAA
accent
#53D4CE
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#080F07
muted
#7B7F7A

Preview Lab

Preview with #337B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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