#337C17#337C17

#337C17 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.151 H 138.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#337C17
RGBrgb(51, 124, 23)
HSLhsl(103, 69%, 29%)
HSVhsv(103, 81%, 49%)
CMYKcmyk(58.9%, 0%, 81.5%, 51.4%)
CIE-LABlab(45.88, -41.15, 44.46)
CIE-LCHlch(45.88, 60.58, 132.79°)
OKLaboklab(51.99% -0.1135 0.0989)
OKLCHoklch(51.99% 0.151 138.9)
XYZxyz(8.7272, 15.1802, 3.2806)
Luminance0.1518 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C17 #60177C
analogous
#667C17 #337C17 #177C2E
triadic
#337C17 #17337C #7C1733
tetradic
#337C17 #17667C #60177C #7C2E17
square
#337C17 #17667C #60177C #7C2E17
split-complementary
#337C17 #2E177C #7C1766
monochromatic
#0B1A05 #1E480D #337C17 #48B021 #62D934

Accessibility & contrast

On white

5.20
#337C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#337C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337C17
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337C17#FFFFFF#000000##FFFFFF
##337C171.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#776A23
Tritanopia (blue-blind)
#2B7869
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337c17;
/* rgb */ color: rgb(51, 124, 23);
/* oklch */ color: oklch(52.0% 0.151 138.9);
Tailwind
colors: {
  custom: {
    50: '#74a35d',
    500: '#337c17',
    950: '#000000',
  },
}
SCSS
$custom: #337c17;
$custom-light: #74a35d;
$custom-dark: #000000;
JSON
{
  "hex": "#337c17",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 103.366,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51986,
    "c": 0.15053,
    "h": 138.9
  },
  "luminance": 0.15181
}

Semantic roles & 50–950 ramp

primary
#337C17
secondary
#913EB1
accent
#3CECBB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337C17

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

Preview Lab → · Contrast checker → · Palette generator →

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