#337328#337328

#337328 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.6% C 0.127 H 140.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#337328
RGBrgb(51, 115, 40)
HSLhsl(111, 48%, 30%)
HSVhsv(111, 65%, 45%)
CMYKcmyk(55.7%, 0%, 65.2%, 54.9%)
CIE-LABlab(42.94, -36.04, 34.46)
CIE-LCHlch(42.94, 49.86, 136.29°)
OKLaboklab(49.6% -0.0986 0.0803)
OKLCHoklch(49.6% 0.127 140.9)
XYZxyz(7.8786, 13.1178, 4.1239)
Luminance0.1312 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337328 #682873
analogous
#587328 #337328 #287342
triadic
#337328 #283373 #732833
tetradic
#337328 #285873 #682873 #734228
square
#337328 #285873 #682873 #734228
split-complementary
#337328 #422873 #732858
monochromatic
#0B1808 #1F4618 #337328 #47A038 #63C352

Accessibility & contrast

On white

5.80
#337328 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#337328 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337328
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337328#FFFFFF#000000##FFFFFF
##3373281.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691F
Deuteranopia (green-blind)
#6E632E
Tritanopia (blue-blind)
#2B6F63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #337328;
/* rgb */ color: rgb(51, 115, 40);
/* oklch */ color: oklch(49.6% 0.127 140.9);
Tailwind
colors: {
  custom: {
    50: '#719c65',
    500: '#337328',
    950: '#000000',
  },
}
SCSS
$custom: #337328;
$custom-light: #719c65;
$custom-dark: #000000;
JSON
{
  "hex": "#337328",
  "rgb": {
    "r": 51,
    "g": 115,
    "b": 40
  },
  "hsl": {
    "h": 111.2,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.49604,
    "c": 0.12711,
    "h": 140.9
  },
  "luminance": 0.13118
}

Semantic roles & 50–950 ramp

primary
#337328
secondary
#9952A5
accent
#50D8C4
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A

Preview Lab

Preview with #337328

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

Preview Lab → · Contrast checker → · Palette generator →

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