#337717#337717

#337717 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.144 H 138.6°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#337717
RGBrgb(51, 119, 23)
HSLhsl(103, 68%, 28%)
HSVhsv(103, 81%, 47%)
CMYKcmyk(57.1%, 0%, 80.7%, 53.3%)
CIE-LABlab(44.17, -39.19, 42.83)
CIE-LCHlch(44.17, 58.05, 132.46°)
OKLaboklab(50.58% -0.1082 0.0955)
OKLCHoklch(50.58% 0.144 138.6)
XYZxyz(8.1164, 13.9587, 3.0770)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337717 #5B1777
analogous
#637717 #337717 #17772B
triadic
#337717 #173377 #771733
tetradic
#337717 #176377 #5B1777 #772B17
square
#337717 #176377 #5B1777 #772B17
split-complementary
#337717 #2B1777 #771763
monochromatic
#0B1A05 #1D440D #337717 #49AA21 #62D731

Accessibility & contrast

On white

5.54
#337717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#337717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337717
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337717#FFFFFF#000000##FFFFFF
##3377171.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#2D7365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #337717;
/* rgb */ color: rgb(51, 119, 23);
/* oklch */ color: oklch(50.6% 0.144 138.6);
Tailwind
colors: {
  custom: {
    50: '#739f5c',
    500: '#337717',
    950: '#000000',
  },
}
SCSS
$custom: #337717;
$custom-light: #739f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#337717",
  "rgb": {
    "r": 51,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 102.5,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.50577,
    "c": 0.14432,
    "h": 138.6
  },
  "luminance": 0.13959
}

Semantic roles & 50–950 ramp

primary
#337717
secondary
#8C3EAC
accent
#3DEAB8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #337717

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

Preview Lab → · Contrast checker → · Palette generator →

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