#337C20#337C20

#337C20 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.1% C 0.145 H 139.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#337C20
RGBrgb(51, 124, 32)
HSLhsl(108, 59%, 31%)
HSVhsv(108, 74%, 49%)
CMYKcmyk(58.9%, 0%, 74.2%, 51.4%)
CIE-LABlab(45.94, -40.49, 41.21)
CIE-LCHlch(45.94, 57.77, 134.50°)
OKLaboklab(52.05% -0.1111 0.0935)
OKLCHoklch(52.05% 0.145 139.9)
XYZxyz(8.8332, 15.2226, 3.8390)
Luminance0.1522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C20 #69207C
analogous
#617C20 #337C20 #207C3B
triadic
#337C20 #20337C #7C2033
tetradic
#337C20 #20617C #69207C #7C3B20
square
#337C20 #20617C #69207C #7C3B20
split-complementary
#337C20 #3B207C #7C2061
monochromatic
#0B1B07 #1F4B13 #337C20 #47AD2D #63CF47

Accessibility & contrast

On white

5.19
#337C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#337C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337C20
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337C20#FFFFFF#000000##FFFFFF
##337C201.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#766A29
Tritanopia (blue-blind)
#2A786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337c20;
/* rgb */ color: rgb(51, 124, 32);
/* oklch */ color: oklch(52.1% 0.145 139.9);
Tailwind
colors: {
  custom: {
    50: '#73a362',
    500: '#337c20',
    950: '#000000',
  },
}
SCSS
$custom: #337c20;
$custom-light: #73a362;
$custom-dark: #000000;
JSON
{
  "hex": "#337c20",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 107.609,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52052,
    "c": 0.14521,
    "h": 139.9
  },
  "luminance": 0.15223
}

Semantic roles & 50–950 ramp

primary
#337C20
secondary
#9A49AF
accent
#46E2C2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #337C20

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

Preview Lab → · Contrast checker → · Palette generator →

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