#337B21#337B21

#337B21 is a mid, vivid green. Relative luminance 0.150; OKLCH L 51.8% C 0.143 H 140.0°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#337B21
RGBrgb(51, 123, 33)
HSLhsl(108, 58%, 31%)
HSVhsv(108, 73%, 48%)
CMYKcmyk(58.5%, 0%, 73.2%, 51.8%)
CIE-LABlab(45.61, -40.01, 40.46)
CIE-LCHlch(45.61, 56.90, 134.68°)
OKLaboklab(51.78% -0.1098 0.092)
OKLCHoklch(51.78% 0.143 140)
XYZxyz(8.7223, 14.9788, 3.8701)
Luminance0.1498 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B21 #69217B
analogous
#607B21 #337B21 #217B3C
triadic
#337B21 #21337B #7B2133
tetradic
#337B21 #21607B #69217B #7B3C21
square
#337B21 #21607B #69217B #7B3C21
split-complementary
#337B21 #3C217B #7B2160
monochromatic
#0B1A07 #1F4B14 #337B21 #47AB2E #63CE48

Accessibility & contrast

On white

5.26
#337B21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#337B21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B21
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B21#FFFFFF#000000##FFFFFF
##337B211.005.264.005.26
#FFFFFF5.261.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7013
Deuteranopia (green-blind)
#756A2A
Tritanopia (blue-blind)
#2A7769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b21;
/* rgb */ color: rgb(51, 123, 33);
/* oklch */ color: oklch(51.8% 0.143 140.0);
Tailwind
colors: {
  custom: {
    50: '#73a262',
    500: '#337b21',
    950: '#000000',
  },
}
SCSS
$custom: #337b21;
$custom-light: #73a262;
$custom-dark: #000000;
JSON
{
  "hex": "#337b21",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 33
  },
  "hsl": {
    "h": 108,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.5178,
    "c": 0.14325,
    "h": 140
  },
  "luminance": 0.1498
}

Semantic roles & 50–950 ramp

primary
#337B21
secondary
#9A4AAE
accent
#47E1C2
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #337B21

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

Preview Lab → · Contrast checker → · Palette generator →

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