#337E20#337E20

#337E20 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.148 H 140.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#337E20
RGBrgb(51, 126, 32)
HSLhsl(108, 59%, 31%)
HSVhsv(108, 75%, 49%)
CMYKcmyk(59.5%, 0%, 74.6%, 50.6%)
CIE-LABlab(46.62, -41.28, 41.90)
CIE-LCHlch(46.62, 58.82, 134.57°)
OKLaboklab(52.61% -0.1133 0.0949)
OKLCHoklch(52.61% 0.148 140)
XYZxyz(9.0864, 15.7290, 3.9234)
Luminance0.1573 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E20 #6B207E
analogous
#627E20 #337E20 #207E3C
triadic
#337E20 #20337E #7E2033
tetradic
#337E20 #20627E #6B207E #7E3C20
square
#337E20 #20627E #6B207E #7E3C20
split-complementary
#337E20 #3C207E #7E2062
monochromatic
#0B1C07 #1F4D14 #337E20 #47AF2C #64D048

Accessibility & contrast

On white

5.07
#337E20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#337E20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337E20
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337E20#FFFFFF#000000##FFFFFF
##337E201.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827210
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#2A7A6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337e20;
/* rgb */ color: rgb(51, 126, 32);
/* oklch */ color: oklch(52.6% 0.148 140.0);
Tailwind
colors: {
  custom: {
    50: '#74a462',
    500: '#337e20',
    950: '#000000',
  },
}
SCSS
$custom: #337e20;
$custom-light: #74a462;
$custom-dark: #000000;
JSON
{
  "hex": "#337e20",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 32
  },
  "hsl": {
    "h": 107.872,
    "s": 59.494,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52612,
    "c": 0.14777,
    "h": 140
  },
  "luminance": 0.1573
}

Semantic roles & 50–950 ramp

primary
#337E20
secondary
#9C49B1
accent
#45E3C3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #337E20

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

Preview Lab → · Contrast checker → · Palette generator →

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