#337F17#337F17

#337F17 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.154 H 139.1°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#337F17
RGBrgb(51, 127, 23)
HSLhsl(104, 69%, 29%)
HSVhsv(104, 82%, 50%)
CMYKcmyk(59.8%, 0%, 81.9%, 50.2%)
CIE-LABlab(46.90, -42.31, 45.42)
CIE-LCHlch(46.90, 62.07, 132.97°)
OKLaboklab(52.83% -0.1166 0.1009)
OKLCHoklch(52.83% 0.154 139.1)
XYZxyz(9.1089, 15.9436, 3.4079)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F17 #63177F
analogous
#677F17 #337F17 #177F2F
triadic
#337F17 #17337F #7F1733
tetradic
#337F17 #17677F #63177F #7F2F17
square
#337F17 #17677F #63177F #7F2F17
split-complementary
#337F17 #2F177F #7F1767
monochromatic
#0A1A05 #1E4B0E #337F17 #48B320 #62DB36

Accessibility & contrast

On white

5.01
#337F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#337F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F17
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F17#FFFFFF#000000##FFFFFF
##337F171.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#796D23
Tritanopia (blue-blind)
#2B7A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337f17;
/* rgb */ color: rgb(51, 127, 23);
/* oklch */ color: oklch(52.8% 0.154 139.1);
Tailwind
colors: {
  custom: {
    50: '#74a55e',
    500: '#337f17',
    950: '#000000',
  },
}
SCSS
$custom: #337f17;
$custom-light: #74a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#337f17",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 103.846,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52829,
    "c": 0.1542,
    "h": 139.1
  },
  "luminance": 0.15944
}

Semantic roles & 50–950 ramp

primary
#337F17
secondary
#943EB4
accent
#3CECBD
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337F17

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

Preview Lab → · Contrast checker → · Palette generator →

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