#217916#217916

#217916 is a mid, vivid green. Relative luminance 0.141; OKLCH L 50.5% C 0.155 H 141.6°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#217916
RGBrgb(33, 121, 22)
HSLhsl(113, 69%, 28%)
HSVhsv(113, 82%, 47%)
CMYKcmyk(72.7%, 0%, 81.8%, 52.5%)
CIE-LABlab(44.31, -44.47, 43.11)
CIE-LCHlch(44.31, 61.94, 135.89°)
OKLaboklab(50.54% -0.1213 0.0961)
OKLCHoklch(50.54% 0.155 141.6)
XYZxyz(7.6090, 14.0552, 3.0708)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217916 #6E1679
analogous
#527916 #217916 #16793C
triadic
#217916 #162179 #791621
tetradic
#217916 #165279 #6E1679 #793C16
square
#217916 #165279 #6E1679 #793C16
split-complementary
#217916 #3C1679 #791652
monochromatic
#071A05 #13450D #217916 #2FAD1F #43D930

Accessibility & contrast

On white

5.51
#217916 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#217916 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217916
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217916#FFFFFF#000000##FFFFFF
##2179161.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#726622
Tritanopia (blue-blind)
#0A7567
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #217916;
/* rgb */ color: rgb(33, 121, 22);
/* oklch */ color: oklch(50.5% 0.155 141.6);
Tailwind
colors: {
  custom: {
    50: '#6ba15c',
    500: '#217916',
    950: '#000000',
  },
}
SCSS
$custom: #217916;
$custom-light: #6ba15c;
$custom-dark: #000000;
JSON
{
  "hex": "#217916",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 113.333,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50536,
    "c": 0.15478,
    "h": 141.6
  },
  "luminance": 0.14056
}

Semantic roles & 50–950 ramp

primary
#217916
secondary
#A23DAE
accent
#3CECD8
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #217916

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

Preview Lab → · Contrast checker → · Palette generator →

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