#337D13#337D13

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

Color values

HEX#337D13
RGBrgb(51, 125, 19)
HSLhsl(102, 74%, 28%)
HSVhsv(102, 85%, 49%)
CMYKcmyk(59.2%, 0%, 84.8%, 51%)
CIE-LABlab(46.20, -41.77, 45.99)
CIE-LCHlch(46.20, 62.13, 132.25°)
OKLaboklab(52.24% -0.1154 0.1015)
OKLCHoklch(52.24% 0.154 138.7)
XYZxyz(8.8161, 15.4173, 3.1272)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D13 #5D137D
analogous
#687D13 #337D13 #137D28
triadic
#337D13 #13337D #7D1333
tetradic
#337D13 #13687D #5D137D #7D2813
square
#337D13 #13687D #5D137D #7D2813
split-complementary
#337D13 #28137D #7D1368
monochromatic
#0B1B04 #1D480B #337D13 #49B21B #62DF2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##337D13#FFFFFF#000000##FFFFFF
##337D131.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)
#786B20
Tritanopia (blue-blind)
#2B786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #337d13;
/* rgb */ color: rgb(51, 125, 19);
/* oklch */ color: oklch(52.2% 0.154 138.7);
Tailwind
colors: {
  custom: {
    50: '#74a35c',
    500: '#337d13',
    950: '#000000',
  },
}
SCSS
$custom: #337d13;
$custom-light: #74a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#337d13",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 19
  },
  "hsl": {
    "h": 101.887,
    "s": 73.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52244,
    "c": 0.15366,
    "h": 138.7
  },
  "luminance": 0.15418
}

Semantic roles & 50–950 ramp

primary
#337D13
secondary
#8E39B3
accent
#38F0B9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #337D13

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

Preview Lab → · Contrast checker → · Palette generator →

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