#337D28#337D28

#337D28 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.141 H 141.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#337D28
RGBrgb(51, 125, 40)
HSLhsl(112, 52%, 32%)
HSVhsv(112, 68%, 49%)
CMYKcmyk(59.2%, 0%, 68%, 51%)
CIE-LABlab(46.34, -40.14, 38.21)
CIE-LCHlch(46.34, 55.42, 136.41°)
OKLaboklab(52.41% -0.1097 0.0882)
OKLCHoklch(52.41% 0.141 141.2)
XYZxyz(9.0814, 15.5234, 4.5248)
Luminance0.1552 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D28 #72287D
analogous
#5E7D28 #337D28 #287D47
triadic
#337D28 #28337D #7D2833
tetradic
#337D28 #285E7D #72287D #7D4728
square
#337D28 #285E7D #72287D #7D4728
split-complementary
#337D28 #47287D #7D285E
monochromatic
#0D200A #204F19 #337D28 #46AB37 #65C956

Accessibility & contrast

On white

5.12
#337D28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#337D28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337D28
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D28#FFFFFF#000000##FFFFFF
##337D281.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80721D
Deuteranopia (green-blind)
#776B2F
Tritanopia (blue-blind)
#29796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d28;
/* rgb */ color: rgb(51, 125, 40);
/* oklch */ color: oklch(52.4% 0.141 141.2);
Tailwind
colors: {
  custom: {
    50: '#73a366',
    500: '#337d28',
    950: '#000000',
  },
}
SCSS
$custom: #337d28;
$custom-light: #73a366;
$custom-dark: #000000;
JSON
{
  "hex": "#337d28",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 40
  },
  "hsl": {
    "h": 112.235,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.52407,
    "c": 0.14076,
    "h": 141.2
  },
  "luminance": 0.15524
}

Semantic roles & 50–950 ramp

primary
#337D28
secondary
#A253AE
accent
#4DDBC9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337D28

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

Preview Lab → · Contrast checker → · Palette generator →

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