#337F14#337F14

#337F14 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.156 H 138.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#337F14
RGBrgb(51, 127, 20)
HSLhsl(103, 73%, 29%)
HSVhsv(103, 84%, 50%)
CMYKcmyk(59.8%, 0%, 84.3%, 50.2%)
CIE-LABlab(46.89, -42.48, 46.33)
CIE-LCHlch(46.89, 62.86, 132.52°)
OKLaboklab(52.81% -0.1172 0.1024)
OKLCHoklch(52.81% 0.156 138.9)
XYZxyz(9.0805, 15.9323, 3.2584)
Luminance0.1593 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F14 #60147F
analogous
#697F14 #337F14 #147F2B
triadic
#337F14 #14337F #7F1433
tetradic
#337F14 #14697F #60147F #7F2B14
square
#337F14 #14697F #60147F #7F2B14
split-complementary
#337F14 #2B147F #7F1469
monochromatic
#0B1A04 #1E4A0C #337F14 #48B41C #62DE2F

Accessibility & contrast

On white

5.02
#337F14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#337F14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337F14
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F14#FFFFFF#000000##FFFFFF
##337F141.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#7A6D21
Tritanopia (blue-blind)
#2B7A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #337f14;
/* rgb */ color: rgb(51, 127, 20);
/* oklch */ color: oklch(52.8% 0.156 138.9);
Tailwind
colors: {
  custom: {
    50: '#75a55c',
    500: '#337f14',
    950: '#000000',
  },
}
SCSS
$custom: #337f14;
$custom-light: #75a55c;
$custom-dark: #000000;
JSON
{
  "hex": "#337f14",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 20
  },
  "hsl": {
    "h": 102.617,
    "s": 72.789,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52811,
    "c": 0.15563,
    "h": 138.9
  },
  "luminance": 0.15933
}

Semantic roles & 50–950 ramp

primary
#337F14
secondary
#913BB4
accent
#38EFBA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337F14

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

Preview Lab → · Contrast checker → · Palette generator →

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