#337020#337020

#337020 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.7% C 0.129 H 139.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#337020
RGBrgb(51, 112, 32)
HSLhsl(106, 56%, 28%)
HSVhsv(106, 71%, 44%)
CMYKcmyk(54.5%, 0%, 71.4%, 56.1%)
CIE-LABlab(41.84, -35.61, 36.94)
CIE-LCHlch(41.84, 51.31, 133.95°)
OKLaboklab(48.67% -0.0979 0.0845)
OKLCHoklch(48.67% 0.129 139.2)
XYZxyz(7.4198, 12.3959, 3.3679)
Luminance0.1240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337020 #5D2070
analogous
#5B7020 #337020 #207035
triadic
#337020 #203370 #702033
tetradic
#337020 #205B70 #5D2070 #703520
square
#337020 #205B70 #5D2070 #703520
split-complementary
#337020 #352070 #70205B
monochromatic
#0B1807 #1D4012 #337020 #49A02E #62C942

Accessibility & contrast

On white

6.04
#337020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#337020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337020
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337020#FFFFFF#000000##FFFFFF
##3370201.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736615
Deuteranopia (green-blind)
#6B6127
Tritanopia (blue-blind)
#2D6C60
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #337020;
/* rgb */ color: rgb(51, 112, 32);
/* oklch */ color: oklch(48.7% 0.129 139.2);
Tailwind
colors: {
  custom: {
    50: '#719a60',
    500: '#337020',
    950: '#000000',
  },
}
SCSS
$custom: #337020;
$custom-light: #719a60;
$custom-dark: #000000;
JSON
{
  "hex": "#337020",
  "rgb": {
    "r": 51,
    "g": 112,
    "b": 32
  },
  "hsl": {
    "h": 105.75,
    "s": 55.556,
    "l": 28.235
  },
  "oklch": {
    "l": 0.48673,
    "c": 0.12937,
    "h": 139.2
  },
  "luminance": 0.12396
}

Semantic roles & 50–950 ramp

primary
#337020
secondary
#8E48A4
accent
#49DFBB
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #337020

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

Preview Lab → · Contrast checker → · Palette generator →

#337020 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva