#337C15#337C15

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

Color values

HEX#337C15
RGBrgb(51, 124, 21)
HSLhsl(103, 71%, 28%)
HSVhsv(103, 83%, 49%)
CMYKcmyk(58.9%, 0%, 83.1%, 51.4%)
CIE-LABlab(45.87, -41.28, 45.09)
CIE-LCHlch(45.87, 61.13, 132.47°)
OKLaboklab(51.97% -0.1139 0.0999)
OKLCHoklch(51.97% 0.152 138.7)
XYZxyz(8.7079, 15.1725, 3.1790)
Luminance0.1517 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337C15 #5E157C
analogous
#667C15 #337C15 #157C2A
triadic
#337C15 #15337C #7C1533
tetradic
#337C15 #15667C #5E157C #7C2A15
square
#337C15 #15667C #5E157C #7C2A15
split-complementary
#337C15 #2A157C #7C1566
monochromatic
#0B1A04 #1D480C #337C15 #49B01E #62DC30

Accessibility & contrast

On white

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

On black

4.03
#337C15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##337C15#FFFFFF#000000##FFFFFF
##337C151.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337c15;
/* rgb */ color: rgb(51, 124, 21);
/* oklch */ color: oklch(52.0% 0.152 138.7);
Tailwind
colors: {
  custom: {
    50: '#74a35c',
    500: '#337c15',
    950: '#000000',
  },
}
SCSS
$custom: #337c15;
$custom-light: #74a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#337c15",
  "rgb": {
    "r": 51,
    "g": 124,
    "b": 21
  },
  "hsl": {
    "h": 102.524,
    "s": 71.034,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51974,
    "c": 0.15152,
    "h": 138.7
  },
  "luminance": 0.15173
}

Semantic roles & 50–950 ramp

primary
#337C15
secondary
#8F3CB1
accent
#3AEEB9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #337C15

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

Preview Lab → · Contrast checker → · Palette generator →

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