#337E17#337E17

#337E17 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.5% C 0.153 H 139.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#337E17
RGBrgb(51, 126, 23)
HSLhsl(104, 69%, 29%)
HSVhsv(104, 82%, 49%)
CMYKcmyk(59.5%, 0%, 81.7%, 50.6%)
CIE-LABlab(46.56, -41.93, 45.10)
CIE-LCHlch(46.56, 61.58, 132.91°)
OKLaboklab(52.55% -0.1156 0.1003)
OKLCHoklch(52.55% 0.153 139.1)
XYZxyz(8.9804, 15.6866, 3.3650)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337E17 #62177E
analogous
#677E17 #337E17 #177E2E
triadic
#337E17 #17337E #7E1733
tetradic
#337E17 #17677E #62177E #7E2E17
square
#337E17 #17677E #62177E #7E2E17
split-complementary
#337E17 #2E177E #7E1767
monochromatic
#0A1A05 #1E4A0E #337E17 #48B220 #62DA35

Accessibility & contrast

On white

5.08
#337E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#337E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337E17
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337E17#FFFFFF#000000##FFFFFF
##337E171.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#2B796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #337e17;
/* rgb */ color: rgb(51, 126, 23);
/* oklch */ color: oklch(52.5% 0.153 139.1);
Tailwind
colors: {
  custom: {
    50: '#74a45d',
    500: '#337e17',
    950: '#000000',
  },
}
SCSS
$custom: #337e17;
$custom-light: #74a45d;
$custom-dark: #000000;
JSON
{
  "hex": "#337e17",
  "rgb": {
    "r": 51,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 103.689,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52548,
    "c": 0.15298,
    "h": 139.1
  },
  "luminance": 0.15687
}

Semantic roles & 50–950 ramp

primary
#337E17
secondary
#933EB3
accent
#3CECBC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337E17

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

Preview Lab → · Contrast checker → · Palette generator →

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