#337917#337917

#337917 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.147 H 138.7°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#337917
RGBrgb(51, 121, 23)
HSLhsl(103, 68%, 28%)
HSVhsv(103, 81%, 47%)
CMYKcmyk(57.9%, 0%, 81%, 52.5%)
CIE-LABlab(44.86, -39.98, 43.48)
CIE-LCHlch(44.86, 59.07, 132.60°)
OKLaboklab(51.14% -0.1103 0.0969)
OKLCHoklch(51.14% 0.147 138.7)
XYZxyz(8.3569, 14.4397, 3.1572)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337917 #5D1779
analogous
#647917 #337917 #17792C
triadic
#337917 #173379 #791733
tetradic
#337917 #176479 #5D1779 #792C17
square
#337917 #176479 #5D1779 #792C17
split-complementary
#337917 #2C1779 #791764
monochromatic
#0B1A05 #1D460D #337917 #49AC21 #62D832

Accessibility & contrast

On white

5.40
#337917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#337917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337917
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337917#FFFFFF#000000##FFFFFF
##3379171.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#2C7567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #337917;
/* rgb */ color: rgb(51, 121, 23);
/* oklch */ color: oklch(51.1% 0.147 138.7);
Tailwind
colors: {
  custom: {
    50: '#73a05d',
    500: '#337917',
    950: '#000000',
  },
}
SCSS
$custom: #337917;
$custom-light: #73a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#337917",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 102.857,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51141,
    "c": 0.14681,
    "h": 138.7
  },
  "luminance": 0.1444
}

Semantic roles & 50–950 ramp

primary
#337917
secondary
#8E3EAE
accent
#3DEBB9
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #337917

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

Preview Lab → · Contrast checker → · Palette generator →

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