#337D17#337D17

#337D17 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.152 H 139.0°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#337D17
RGBrgb(51, 125, 23)
HSLhsl(104, 69%, 29%)
HSVhsv(104, 82%, 49%)
CMYKcmyk(59.2%, 0%, 81.6%, 51%)
CIE-LABlab(46.22, -41.54, 44.78)
CIE-LCHlch(46.22, 61.08, 132.85°)
OKLaboklab(52.27% -0.1145 0.0996)
OKLCHoklch(52.27% 0.152 139)
XYZxyz(8.8532, 15.4321, 3.3226)
Luminance0.1543 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D17 #61177D
analogous
#667D17 #337D17 #177D2E
triadic
#337D17 #17337D #7D1733
tetradic
#337D17 #17667D #61177D #7D2E17
square
#337D17 #17667D #61177D #7D2E17
split-complementary
#337D17 #2E177D #7D1766
monochromatic
#0B1A05 #1E490D #337D17 #48B121 #62DA35

Accessibility & contrast

On white

5.14
#337D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#337D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337D17
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337D17#FFFFFF#000000##FFFFFF
##337D171.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#2B796A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337d17;
/* rgb */ color: rgb(51, 125, 23);
/* oklch */ color: oklch(52.3% 0.152 139.0);
Tailwind
colors: {
  custom: {
    50: '#74a35d',
    500: '#337d17',
    950: '#000000',
  },
}
SCSS
$custom: #337d17;
$custom-light: #74a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#337d17",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 103.529,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52267,
    "c": 0.15175,
    "h": 139
  },
  "luminance": 0.15433
}

Semantic roles & 50–950 ramp

primary
#337D17
secondary
#923EB2
accent
#3CECBC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337D17

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

Preview Lab → · Contrast checker → · Palette generator →

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