#337420#337420

#337420 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.8% C 0.135 H 139.5°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#337420
RGBrgb(51, 116, 32)
HSLhsl(106, 57%, 29%)
HSVhsv(106, 72%, 45%)
CMYKcmyk(56%, 0%, 72.4%, 54.5%)
CIE-LABlab(43.21, -37.27, 38.38)
CIE-LCHlch(43.21, 53.50, 134.16°)
OKLaboklab(49.8% -0.1024 0.0875)
OKLCHoklch(49.8% 0.135 139.5)
XYZxyz(7.8710, 13.2982, 3.5183)
Luminance0.1330 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337420 #612074
analogous
#5D7420 #337420 #207437
triadic
#337420 #203374 #742033
tetradic
#337420 #205D74 #612074 #743720
square
#337420 #205D74 #612074 #743720
split-complementary
#337420 #372074 #74205D
monochromatic
#0B1807 #1E4413 #337420 #48A42D #62CB43

Accessibility & contrast

On white

5.74
#337420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#337420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337420
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337420#FFFFFF#000000##FFFFFF
##3374201.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776913
Deuteranopia (green-blind)
#6F6428
Tritanopia (blue-blind)
#2C7063
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #337420;
/* rgb */ color: rgb(51, 116, 32);
/* oklch */ color: oklch(49.8% 0.135 139.5);
Tailwind
colors: {
  custom: {
    50: '#729d61',
    500: '#337420',
    950: '#000000',
  },
}
SCSS
$custom: #337420;
$custom-light: #729d61;
$custom-dark: #000000;
JSON
{
  "hex": "#337420",
  "rgb": {
    "r": 51,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 106.429,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.49802,
    "c": 0.13476,
    "h": 139.5
  },
  "luminance": 0.13299
}

Semantic roles & 50–950 ramp

primary
#337420
secondary
#9248A8
accent
#48E0BE
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #337420

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

Preview Lab → · Contrast checker → · Palette generator →

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