#337517#337517

#337517 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.142 H 138.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#337517
RGBrgb(51, 117, 23)
HSLhsl(102, 67%, 27%)
HSVhsv(102, 80%, 46%)
CMYKcmyk(56.4%, 0%, 80.3%, 54.1%)
CIE-LABlab(43.49, -38.39, 42.17)
CIE-LCHlch(43.49, 57.03, 132.31°)
OKLaboklab(50.01% -0.106 0.0941)
OKLCHoklch(50.01% 0.142 138.4)
XYZxyz(7.8809, 13.4876, 2.9985)
Luminance0.1349 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337517 #591775
analogous
#627517 #337517 #17752A
triadic
#337517 #173375 #751733
tetradic
#337517 #176275 #591775 #752A17
square
#337517 #176275 #591775 #752A17
split-complementary
#337517 #2A1775 #751762
monochromatic
#0B1A05 #1D420D #337517 #49A821 #62D630

Accessibility & contrast

On white

5.68
#337517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#337517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337517
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337517#FFFFFF#000000##FFFFFF
##3375171.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A01
Deuteranopia (green-blind)
#706521
Tritanopia (blue-blind)
#2D7163
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #337517;
/* rgb */ color: rgb(51, 117, 23);
/* oklch */ color: oklch(50.0% 0.142 138.4);
Tailwind
colors: {
  custom: {
    50: '#739d5c',
    500: '#337517',
    950: '#000000',
  },
}
SCSS
$custom: #337517;
$custom-light: #739d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#337517",
  "rgb": {
    "r": 51,
    "g": 117,
    "b": 23
  },
  "hsl": {
    "h": 102.128,
    "s": 67.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50012,
    "c": 0.14179,
    "h": 138.4
  },
  "luminance": 0.13488
}

Semantic roles & 50–950 ramp

primary
#337517
secondary
#8A3DAA
accent
#3EEAB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #337517

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

Preview Lab → · Contrast checker → · Palette generator →

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