#337928#337928

#337928 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.3% C 0.135 H 141.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#337928
RGBrgb(51, 121, 40)
HSLhsl(112, 50%, 32%)
HSVhsv(112, 67%, 47%)
CMYKcmyk(57.9%, 0%, 66.9%, 52.5%)
CIE-LABlab(44.98, -38.53, 36.73)
CIE-LCHlch(44.98, 53.23, 136.37°)
OKLaboklab(51.29% -0.1053 0.0851)
OKLCHoklch(51.29% 0.135 141.1)
XYZxyz(8.5852, 14.5310, 4.3594)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337928 #6E2879
analogous
#5C7928 #337928 #287946
triadic
#337928 #283379 #792833
tetradic
#337928 #285C79 #6E2879 #794628
square
#337928 #285C79 #6E2879 #794628
split-complementary
#337928 #462879 #79285C
monochromatic
#0C1D0A #204B19 #337928 #46A737 #64C755

Accessibility & contrast

On white

5.38
#337928 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#337928 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337928
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337928#FFFFFF#000000##FFFFFF
##3379281.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1E
Deuteranopia (green-blind)
#73682F
Tritanopia (blue-blind)
#2A7568
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #337928;
/* rgb */ color: rgb(51, 121, 40);
/* oklch */ color: oklch(51.3% 0.135 141.1);
Tailwind
colors: {
  custom: {
    50: '#72a066',
    500: '#337928',
    950: '#000000',
  },
}
SCSS
$custom: #337928;
$custom-light: #72a066;
$custom-dark: #000000;
JSON
{
  "hex": "#337928",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 111.852,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51288,
    "c": 0.13538,
    "h": 141.1
  },
  "luminance": 0.14532
}

Semantic roles & 50–950 ramp

primary
#337928
secondary
#9F52AB
accent
#4EDAC7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080F06
muted
#7B7E7A

Preview Lab

Preview with #337928

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

Preview Lab → · Contrast checker → · Palette generator →

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