#337D20#337D20

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

Color values

HEX#337D20
RGBrgb(51, 125, 32)
HSLhsl(108, 59%, 31%)
HSVhsv(108, 74%, 49%)
CMYKcmyk(59.2%, 0%, 74.4%, 51%)
CIE-LABlab(46.28, -40.89, 41.55)
CIE-LCHlch(46.28, 58.30, 134.53°)
OKLaboklab(52.33% -0.1122 0.0942)
OKLCHoklch(52.33% 0.147 140)
XYZxyz(8.9592, 15.4745, 3.8810)
Luminance0.1547 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D20 #6A207D
analogous
#617D20 #337D20 #207D3B
triadic
#337D20 #20337D #7D2033
tetradic
#337D20 #20617D #6A207D #7D3B20
square
#337D20 #20617D #6A207D #7D3B20
split-complementary
#337D20 #3B207D #7D2061
monochromatic
#0B1C07 #1F4C14 #337D20 #47AE2C #63D047

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337D20#FFFFFF#000000##FFFFFF
##337D201.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)
#817110
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#2A796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337d20;
/* rgb */ color: rgb(51, 125, 32);
/* oklch */ color: oklch(52.3% 0.146 140.0);
Tailwind
colors: {
  custom: {
    50: '#74a362',
    500: '#337d20',
    950: '#000000',
  },
}
SCSS
$custom: #337d20;
$custom-light: #74a362;
$custom-dark: #000000;
JSON
{
  "hex": "#337d20",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 32
  },
  "hsl": {
    "h": 107.742,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52332,
    "c": 0.1465,
    "h": 140
  },
  "luminance": 0.15475
}

Semantic roles & 50–950 ramp

primary
#337D20
secondary
#9B49B0
accent
#45E2C2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #337D20

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

Preview Lab → · Contrast checker → · Palette generator →

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