#337317#337317

#337317 is a mid, vivid green. Relative luminance 0.130; OKLCH L 49.4% C 0.139 H 138.2°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#337317
RGBrgb(51, 115, 23)
HSLhsl(102, 67%, 27%)
HSVhsv(102, 80%, 45%)
CMYKcmyk(55.7%, 0%, 80%, 54.9%)
CIE-LABlab(42.80, -37.58, 41.51)
CIE-LCHlch(42.80, 55.99, 132.16°)
OKLaboklab(49.45% -0.1039 0.0927)
OKLCHoklch(49.45% 0.139 138.2)
XYZxyz(7.6504, 13.0265, 2.9217)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337317 #571773
analogous
#617317 #337317 #177329
triadic
#337317 #173373 #731733
tetradic
#337317 #176173 #571773 #732917
square
#337317 #176173 #571773 #732917
split-complementary
#337317 #291773 #731761
monochromatic
#0B1A05 #1C400D #337317 #4AA621 #62D52F

Accessibility & contrast

On white

5.82
#337317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#337317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337317
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337317#FFFFFF#000000##FFFFFF
##3373171.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776802
Deuteranopia (green-blind)
#6F6321
Tritanopia (blue-blind)
#2E6F62
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #337317;
/* rgb */ color: rgb(51, 115, 23);
/* oklch */ color: oklch(49.4% 0.139 138.2);
Tailwind
colors: {
  custom: {
    50: '#729c5c',
    500: '#337317',
    950: '#000000',
  },
}
SCSS
$custom: #337317;
$custom-light: #729c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#337317",
  "rgb": {
    "r": 51,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 101.739,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.49447,
    "c": 0.13925,
    "h": 138.2
  },
  "luminance": 0.13027
}

Semantic roles & 50–950 ramp

primary
#337317
secondary
#883DA9
accent
#3EEAB5
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337317

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

Preview Lab → · Contrast checker → · Palette generator →

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