#337B16#337B16

#337B16 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.150 H 138.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#337B16
RGBrgb(51, 123, 22)
HSLhsl(103, 70%, 28%)
HSVhsv(103, 82%, 48%)
CMYKcmyk(58.5%, 0%, 82.1%, 51.8%)
CIE-LABlab(45.53, -40.83, 44.45)
CIE-LCHlch(45.53, 60.36, 132.56°)
OKLaboklab(51.7% -0.1127 0.0987)
OKLCHoklch(51.7% 0.15 138.8)
XYZxyz(8.5927, 14.9269, 3.1873)
Luminance0.1493 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337B16 #5E167B
analogous
#657B16 #337B16 #167B2B
triadic
#337B16 #16337B #7B1633
tetradic
#337B16 #16657B #5E167B #7B2B16
square
#337B16 #16657B #5E167B #7B2B16
split-complementary
#337B16 #2B167B #7B1665
monochromatic
#0B1A05 #1D470D #337B16 #49AF1F #62DA31

Accessibility & contrast

On white

5.27
#337B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#337B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337B16
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337B16#FFFFFF#000000##FFFFFF
##337B161.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#2C7768
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #337b16;
/* rgb */ color: rgb(51, 123, 22);
/* oklch */ color: oklch(51.7% 0.150 138.8);
Tailwind
colors: {
  custom: {
    50: '#74a25d',
    500: '#337b16',
    950: '#000000',
  },
}
SCSS
$custom: #337b16;
$custom-light: #74a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#337b16",
  "rgb": {
    "r": 51,
    "g": 123,
    "b": 22
  },
  "hsl": {
    "h": 102.772,
    "s": 69.655,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51698,
    "c": 0.14981,
    "h": 138.8
  },
  "luminance": 0.14928
}

Semantic roles & 50–950 ramp

primary
#337B16
secondary
#8F3DB0
accent
#3BECBA
background
#F7FAF5
surface
#EDF3E9
border
#C8CDC5
text
#090F04
muted
#7B7F79

Preview Lab

Preview with #337B16

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

Preview Lab → · Contrast checker → · Palette generator →

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