#337916#337916

#337916 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.1% C 0.147 H 138.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#337916
RGBrgb(51, 121, 22)
HSLhsl(102, 69%, 28%)
HSVhsv(102, 82%, 47%)
CMYKcmyk(57.9%, 0%, 81.8%, 52.5%)
CIE-LABlab(44.85, -40.04, 43.81)
CIE-LCHlch(44.85, 59.35, 132.43°)
OKLaboklab(51.14% -0.1106 0.0974)
OKLCHoklch(51.14% 0.147 138.6)
XYZxyz(8.3471, 14.4358, 3.1054)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337916 #5C1679
analogous
#647916 #337916 #16792A
triadic
#337916 #163379 #791633
tetradic
#337916 #166479 #5C1679 #792A16
square
#337916 #166479 #5C1679 #792A16
split-complementary
#337916 #2A1679 #791664
monochromatic
#0B1A05 #1D450D #337916 #49AD1F #62D930

Accessibility & contrast

On white

5.40
#337916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#337916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337916
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337916#FFFFFF#000000##FFFFFF
##3379161.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#2C7567
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #337916;
/* rgb */ color: rgb(51, 121, 22);
/* oklch */ color: oklch(51.1% 0.147 138.6);
Tailwind
colors: {
  custom: {
    50: '#73a05c',
    500: '#337916',
    950: '#000000',
  },
}
SCSS
$custom: #337916;
$custom-light: #73a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#337916",
  "rgb": {
    "r": 51,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 102.424,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51135,
    "c": 0.14734,
    "h": 138.6
  },
  "luminance": 0.14436
}

Semantic roles & 50–950 ramp

primary
#337916
secondary
#8D3DAE
accent
#3CECB8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090F04
muted
#7B7E79

Preview Lab

Preview with #337916

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

Preview Lab → · Contrast checker → · Palette generator →

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