#337D14#337D14

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

Color values

HEX#337D14
RGBrgb(51, 125, 20)
HSLhsl(102, 72%, 28%)
HSVhsv(102, 84%, 49%)
CMYKcmyk(59.2%, 0%, 84%, 51%)
CIE-LABlab(46.21, -41.72, 45.70)
CIE-LCHlch(46.21, 61.88, 132.39°)
OKLaboklab(52.25% -0.1152 0.1011)
OKLCHoklch(52.25% 0.153 138.7)
XYZxyz(8.8248, 15.4208, 3.1732)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337D14 #5E147D
analogous
#677D14 #337D14 #147D29
triadic
#337D14 #14337D #7D1433
tetradic
#337D14 #14677D #5E147D #7D2914
square
#337D14 #14677D #5E147D #7D2914
split-complementary
#337D14 #29147D #7D1467
monochromatic
#0B1A04 #1D480C #337D14 #49B21C #62DE2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #337d14;
/* rgb */ color: rgb(51, 125, 20);
/* oklch */ color: oklch(52.2% 0.153 138.7);
Tailwind
colors: {
  custom: {
    50: '#74a35c',
    500: '#337d14',
    950: '#000000',
  },
}
SCSS
$custom: #337d14;
$custom-light: #74a35c;
$custom-dark: #000000;
JSON
{
  "hex": "#337d14",
  "rgb": {
    "r": 51,
    "g": 125,
    "b": 20
  },
  "hsl": {
    "h": 102.286,
    "s": 72.414,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.15321,
    "h": 138.7
  },
  "luminance": 0.15422
}

Semantic roles & 50–950 ramp

primary
#337D14
secondary
#8F3AB2
accent
#39EFB9
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #337D14

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

Preview Lab → · Contrast checker → · Palette generator →

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