#337D21#337D21

#337D21 is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.3% C 0.146 H 140.1°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#337D21
RGBrgb(51, 125, 33)
HSLhsl(108, 58%, 31%)
HSVhsv(108, 74%, 49%)
CMYKcmyk(59.2%, 0%, 73.6%, 51%)
CIE-LABlab(46.28, -40.80, 41.16)
CIE-LCHlch(46.28, 57.95, 134.75°)
OKLaboklab(52.34% -0.1119 0.0935)
OKLCHoklch(52.34% 0.146 140.1)
XYZxyz(8.9730, 15.4801, 3.9537)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D21 #6B217D
analogous
#617D21 #337D21 #217D3D
triadic
#337D21 #21337D #7D2133
tetradic
#337D21 #21617D #6B217D #7D3D21
square
#337D21 #21617D #6B217D #7D3D21
split-complementary
#337D21 #3D217D #7D2161
monochromatic
#0B1C07 #1F4D14 #337D21 #47AD2E #64CF49

Accessibility & contrast

On white

5.13
#337D21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #337D21
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D21#FFFFFF#000000##FFFFFF
##337D211.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817112
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#2A796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d21;
/* rgb */ color: rgb(51, 125, 33);
/* oklch */ color: oklch(52.3% 0.146 140.1);
Tailwind
colors: {
  custom: {
    50: '#74a362',
    500: '#337d21',
    950: '#000000',
  },
}
SCSS
$custom: #337d21;
$custom-light: #74a362;
$custom-dark: #000000;
JSON
{
  "hex": "#337d21",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 33
  },
  "hsl": {
    "h": 108.261,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52341,
    "c": 0.14583,
    "h": 140.1
  },
  "luminance": 0.15481
}

Semantic roles & 50–950 ramp

primary
#337D21
secondary
#9C4AB0
accent
#46E1C3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #337D21

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

Preview Lab → · Contrast checker → · Palette generator →

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