#337B17#337B17

#337B17 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.149 H 138.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#337B17
RGBrgb(51, 123, 23)
HSLhsl(103, 68%, 29%)
HSVhsv(103, 81%, 48%)
CMYKcmyk(58.5%, 0%, 81.3%, 51.8%)
CIE-LABlab(45.54, -40.77, 44.13)
CIE-LCHlch(45.54, 60.08, 132.73°)
OKLaboklab(51.7% -0.1124 0.0982)
OKLCHoklch(51.7% 0.149 138.9)
XYZxyz(8.6025, 14.9309, 3.2391)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B17 #5F177B
analogous
#657B17 #337B17 #177B2D
triadic
#337B17 #17337B #7B1733
tetradic
#337B17 #17657B #5F177B #7B2D17
square
#337B17 #17657B #5F177B #7B2D17
split-complementary
#337B17 #2D177B #7B1765
monochromatic
#0B1A05 #1E470D #337B17 #48AF21 #62D933

Accessibility & contrast

On white

5.27
#337B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#337B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B17
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B17#FFFFFF#000000##FFFFFF
##337B171.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#766A23
Tritanopia (blue-blind)
#2C7768
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b17;
/* rgb */ color: rgb(51, 123, 23);
/* oklch */ color: oklch(51.7% 0.149 138.9);
Tailwind
colors: {
  custom: {
    50: '#74a25d',
    500: '#337b17',
    950: '#000000',
  },
}
SCSS
$custom: #337b17;
$custom-light: #74a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#337b17",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 103.2,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51704,
    "c": 0.1493,
    "h": 138.9
  },
  "luminance": 0.14932
}

Semantic roles & 50–950 ramp

primary
#337B17
secondary
#903EB0
accent
#3CEBBA
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337B17

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

Preview Lab → · Contrast checker → · Palette generator →

#337B17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva