#337F16#337F16

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

Color values

HEX#337F16
RGBrgb(51, 127, 22)
HSLhsl(103, 70%, 29%)
HSVhsv(103, 83%, 50%)
CMYKcmyk(59.8%, 0%, 82.7%, 50.2%)
CIE-LABlab(46.90, -42.37, 45.73)
CIE-LCHlch(46.90, 62.34, 132.81°)
OKLaboklab(52.82% -0.1168 0.1014)
OKLCHoklch(52.82% 0.155 139)
XYZxyz(9.0991, 15.9397, 3.3561)
Luminance0.1594 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337F16 #62167F
analogous
#687F16 #337F16 #167F2E
triadic
#337F16 #16337F #7F1633
tetradic
#337F16 #16687F #62167F #7F2E16
square
#337F16 #16687F #62167F #7F2E16
split-complementary
#337F16 #2E167F #7F1668
monochromatic
#0A1A05 #1E4B0D #337F16 #48B31F #62DC34

Accessibility & contrast

On white

5.01
#337F16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #337F16
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337F16#FFFFFF#000000##FFFFFF
##337F161.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #337f16;
/* rgb */ color: rgb(51, 127, 22);
/* oklch */ color: oklch(52.8% 0.155 139.0);
Tailwind
colors: {
  custom: {
    50: '#75a55d',
    500: '#337f16',
    950: '#000000',
  },
}
SCSS
$custom: #337f16;
$custom-light: #75a55d;
$custom-dark: #000000;
JSON
{
  "hex": "#337f16",
  "rgb": {
    "r": 51,
    "g": 127,
    "b": 22
  },
  "hsl": {
    "h": 103.429,
    "s": 70.47,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52823,
    "c": 0.1547,
    "h": 139
  },
  "luminance": 0.1594
}

Semantic roles & 50–950 ramp

primary
#337F16
secondary
#933DB4
accent
#3BEDBC
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #337F16

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

Preview Lab → · Contrast checker → · Palette generator →

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