#337F2D#337F2D

#337F2D is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.139 H 142.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#337F2D
RGBrgb(51, 127, 45)
HSLhsl(116, 48%, 34%)
HSVhsv(116, 65%, 50%)
CMYKcmyk(59.8%, 0%, 64.6%, 50.2%)
CIE-LABlab(47.07, -40.39, 36.70)
CIE-LCHlch(47.07, 54.58, 137.74°)
OKLaboklab(53.02% -0.1101 0.0856)
OKLCHoklch(53.02% 0.139 142.1)
XYZxyz(9.4278, 16.0712, 5.0873)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F2D #792D7F
analogous
#5C7F2D #337F2D #2D7F50
triadic
#337F2D #2D337F #7F2D33
tetradic
#337F2D #2D5C7F #792D7F #7F502D
square
#337F2D #2D5C7F #792D7F #7F502D
split-complementary
#337F2D #502D7F #7F2D5C
monochromatic
#0F250D #21521D #337F2D #45AC3D #67C760

Accessibility & contrast

On white

4.98
#337F2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#337F2D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F2D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F2D#FFFFFF#000000##FFFFFF
##337F2D1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827424
Deuteranopia (green-blind)
#786D34
Tritanopia (blue-blind)
#277B6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #337f2d;
/* rgb */ color: rgb(51, 127, 45);
/* oklch */ color: oklch(53.0% 0.139 142.1);
Tailwind
colors: {
  custom: {
    50: '#73a569',
    500: '#337f2d',
    950: '#000000',
  },
}
SCSS
$custom: #337f2d;
$custom-light: #73a569;
$custom-dark: #000000;
JSON
{
  "hex": "#337f2d",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 45
  },
  "hsl": {
    "h": 115.61,
    "s": 47.674,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5302,
    "c": 0.13943,
    "h": 142.1
  },
  "luminance": 0.16072
}

Semantic roles & 50–950 ramp

primary
#337F2D
secondary
#A75BAD
accent
#51D7CD
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #337F2D

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

Preview Lab → · Contrast checker → · Palette generator →

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