#337628#337628

#337628 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.4% C 0.131 H 141.0°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#337628
RGBrgb(51, 118, 40)
HSLhsl(112, 49%, 31%)
HSVhsv(112, 66%, 46%)
CMYKcmyk(56.8%, 0%, 66.1%, 53.7%)
CIE-LABlab(43.96, -37.30, 35.60)
CIE-LCHlch(43.96, 51.56, 136.33°)
OKLaboklab(50.45% -0.102 0.0827)
OKLCHoklch(50.45% 0.131 141)
XYZxyz(8.2263, 13.8132, 4.2398)
Luminance0.1381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337628 #6B2876
analogous
#5A7628 #337628 #287644
triadic
#337628 #283376 #762833
tetradic
#337628 #285A76 #6B2876 #764428
square
#337628 #285A76 #6B2876 #764428
split-complementary
#337628 #442876 #76285A
monochromatic
#0B1B09 #1F4819 #337628 #47A437 #64C554

Accessibility & contrast

On white

5.58
#337628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#337628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337628
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337628#FFFFFF#000000##FFFFFF
##3376281.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796B1F
Deuteranopia (green-blind)
#70662F
Tritanopia (blue-blind)
#2B7266
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #337628;
/* rgb */ color: rgb(51, 118, 40);
/* oklch */ color: oklch(50.4% 0.131 141.0);
Tailwind
colors: {
  custom: {
    50: '#729e65',
    500: '#337628',
    950: '#000000',
  },
}
SCSS
$custom: #337628;
$custom-light: #729e65;
$custom-dark: #000000;
JSON
{
  "hex": "#337628",
  "rgb": {
    "r": 51,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 111.538,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50446,
    "c": 0.13128,
    "h": 141
  },
  "luminance": 0.13814
}

Semantic roles & 50–950 ramp

primary
#337628
secondary
#9C52A8
accent
#4FD9C5
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #337628

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

Preview Lab → · Contrast checker → · Palette generator →

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