#337216#337216

#337216 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.2% C 0.139 H 138.0°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#337216
RGBrgb(51, 114, 22)
HSLhsl(101, 68%, 27%)
HSVhsv(101, 81%, 45%)
CMYKcmyk(55.3%, 0%, 80.7%, 55.3%)
CIE-LABlab(42.45, -37.24, 41.52)
CIE-LCHlch(42.45, 55.78, 131.89°)
OKLaboklab(49.16% -0.103 0.0926)
OKLCHoklch(49.16% 0.139 138)
XYZxyz(7.5271, 12.7958, 2.8321)
Luminance0.1280 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#337216 #551672
analogous
#617216 #337216 #167227
triadic
#337216 #163372 #721633
tetradic
#337216 #166172 #551672 #722716
square
#337216 #166172 #551672 #722716
split-complementary
#337216 #271672 #721661
monochromatic
#0B1A05 #1C3F0C #337216 #4AA520 #62D62C

Accessibility & contrast

On white

5.90
#337216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#337216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #337216
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##337216#FFFFFF#000000##FFFFFF
##3372161.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766701
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#2E6E61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #337216;
/* rgb */ color: rgb(51, 114, 22);
/* oklch */ color: oklch(49.2% 0.139 138.0);
Tailwind
colors: {
  custom: {
    50: '#729b5b',
    500: '#337216',
    950: '#000000',
  },
}
SCSS
$custom: #337216;
$custom-light: #729b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#337216",
  "rgb": {
    "r": 51,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 101.087,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.49157,
    "c": 0.13853,
    "h": 138
  },
  "luminance": 0.12796
}

Semantic roles & 50–950 ramp

primary
#337216
secondary
#863CA8
accent
#3DEBB4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79

Preview Lab

Preview with #337216

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

Preview Lab → · Contrast checker → · Palette generator →

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