#337417#337417

#337417 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.141 H 138.3°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#337417
RGBrgb(51, 116, 23)
HSLhsl(102, 67%, 27%)
HSVhsv(102, 80%, 45%)
CMYKcmyk(56%, 0%, 80.2%, 54.5%)
CIE-LABlab(43.15, -37.98, 41.84)
CIE-LCHlch(43.15, 56.51, 132.23°)
OKLaboklab(49.73% -0.105 0.0934)
OKLCHoklch(49.73% 0.141 138.3)
XYZxyz(7.7650, 13.2558, 2.9599)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337417 #581774
analogous
#627417 #337417 #177429
triadic
#337417 #173374 #741733
tetradic
#337417 #176274 #581774 #742917
square
#337417 #176274 #581774 #742917
split-complementary
#337417 #291774 #741762
monochromatic
#0B1A05 #1D410D #337417 #49A721 #62D630

Accessibility & contrast

On white

5.75
#337417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#337417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337417
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337417#FFFFFF#000000##FFFFFF
##3374171.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786902
Deuteranopia (green-blind)
#706421
Tritanopia (blue-blind)
#2D7063
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #337417;
/* rgb */ color: rgb(51, 116, 23);
/* oklch */ color: oklch(49.7% 0.141 138.3);
Tailwind
colors: {
  custom: {
    50: '#729d5c',
    500: '#337417',
    950: '#000000',
  },
}
SCSS
$custom: #337417;
$custom-light: #729d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#337417",
  "rgb": {
    "r": 51,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 101.935,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.4973,
    "c": 0.14052,
    "h": 138.3
  },
  "luminance": 0.13256
}

Semantic roles & 50–950 ramp

primary
#337417
secondary
#893DA9
accent
#3EEAB6
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #337417

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

Preview Lab → · Contrast checker → · Palette generator →

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