#337D15#337D15

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

Color values

HEX#337D15
RGBrgb(51, 125, 21)
HSLhsl(103, 71%, 29%)
HSVhsv(103, 83%, 49%)
CMYKcmyk(59.2%, 0%, 83.2%, 51%)
CIE-LABlab(46.21, -41.66, 45.40)
CIE-LCHlch(46.21, 61.62, 132.54°)
OKLaboklab(52.26% -0.115 0.1006)
OKLCHoklch(52.26% 0.153 138.8)
XYZxyz(8.8339, 15.4244, 3.2210)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D15 #5F157D
analogous
#677D15 #337D15 #157D2B
triadic
#337D15 #15337D #7D1533
tetradic
#337D15 #15677D #5F157D #7D2B15
square
#337D15 #15677D #5F157D #7D2B15
split-complementary
#337D15 #2B157D #7D1567
monochromatic
#0B1A04 #1E490C #337D15 #48B11E #62DC30

Accessibility & contrast

On white

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

On black

4.08
#337D15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##337D15#FFFFFF#000000##FFFFFF
##337D151.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337d15;
/* rgb */ color: rgb(51, 125, 21);
/* oklch */ color: oklch(52.3% 0.153 138.8);
Tailwind
colors: {
  custom: {
    50: '#74a35c',
    500: '#337d15',
    950: '#000000',
  },
}
SCSS
$custom: #337d15;
$custom-light: #74a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#337d15",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 21
  },
  "hsl": {
    "h": 102.692,
    "s": 71.233,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52255,
    "c": 0.15275,
    "h": 138.8
  },
  "luminance": 0.15425
}

Semantic roles & 50–950 ramp

primary
#337D15
secondary
#903CB2
accent
#3AEEBA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #337D15

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

Preview Lab → · Contrast checker → · Palette generator →

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