#337716#337716

#337716 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.6% C 0.145 H 138.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#337716
RGBrgb(51, 119, 22)
HSLhsl(102, 69%, 28%)
HSVhsv(102, 82%, 47%)
CMYKcmyk(57.1%, 0%, 81.5%, 53.3%)
CIE-LABlab(44.17, -39.25, 43.16)
CIE-LCHlch(44.17, 58.34, 132.28°)
OKLaboklab(50.57% -0.1084 0.096)
OKLCHoklch(50.57% 0.145 138.5)
XYZxyz(8.1066, 13.9547, 3.0252)
Luminance0.1396 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337716 #5A1677
analogous
#637716 #337716 #16772A
triadic
#337716 #163377 #771633
tetradic
#337716 #166377 #5A1677 #772A16
square
#337716 #166377 #5A1677 #772A16
split-complementary
#337716 #2A1677 #771663
monochromatic
#0B1A05 #1D430C #337716 #49AB20 #62D92F

Accessibility & contrast

On white

5.54
#337716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#337716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337716
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337716#FFFFFF#000000##FFFFFF
##3377161.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#2D7365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #337716;
/* rgb */ color: rgb(51, 119, 22);
/* oklch */ color: oklch(50.6% 0.145 138.5);
Tailwind
colors: {
  custom: {
    50: '#739f5c',
    500: '#337716',
    950: '#000000',
  },
}
SCSS
$custom: #337716;
$custom-light: #739f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#337716",
  "rgb": {
    "r": 51,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 102.062,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50571,
    "c": 0.14485,
    "h": 138.5
  },
  "luminance": 0.13955
}

Semantic roles & 50–950 ramp

primary
#337716
secondary
#8B3CAC
accent
#3CECB7
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #337716

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

Preview Lab → · Contrast checker → · Palette generator →

#337716 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva