#337F20#337F20

#337F20 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.149 H 140.1°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#337F20
RGBrgb(51, 127, 32)
HSLhsl(108, 60%, 31%)
HSVhsv(108, 75%, 50%)
CMYKcmyk(59.8%, 0%, 74.8%, 50.2%)
CIE-LABlab(46.96, -41.67, 42.25)
CIE-LCHlch(46.96, 59.34, 134.60°)
OKLaboklab(52.89% -0.1143 0.0956)
OKLCHoklch(52.89% 0.149 140.1)
XYZxyz(9.2149, 15.9860, 3.9662)
Luminance0.1599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F20 #6C207F
analogous
#627F20 #337F20 #207F3C
triadic
#337F20 #20337F #7F2033
tetradic
#337F20 #20627F #6C207F #7F3C20
square
#337F20 #20627F #6C207F #7F3C20
split-complementary
#337F20 #3C207F #7F2062
monochromatic
#0C1D07 #1F4E14 #337F20 #47B02C #64D148

Accessibility & contrast

On white

5.00
#337F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#337F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F20
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F20#FFFFFF#000000##FFFFFF
##337F201.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730F
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#2A7B6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337f20;
/* rgb */ color: rgb(51, 127, 32);
/* oklch */ color: oklch(52.9% 0.149 140.1);
Tailwind
colors: {
  custom: {
    50: '#74a562',
    500: '#337f20',
    950: '#000000',
  },
}
SCSS
$custom: #337f20;
$custom-light: #74a562;
$custom-dark: #000000;
JSON
{
  "hex": "#337f20",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 32
  },
  "hsl": {
    "h": 108,
    "s": 59.748,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52892,
    "c": 0.14904,
    "h": 140.1
  },
  "luminance": 0.15987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #337F20

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

Preview Lab → · Contrast checker → · Palette generator →

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