#217316#217316

#217316 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.148 H 141.5°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#217316
RGBrgb(33, 115, 22)
HSLhsl(113, 68%, 27%)
HSVhsv(113, 81%, 45%)
CMYKcmyk(71.3%, 0%, 80.9%, 54.9%)
CIE-LABlab(42.22, -42.34, 41.10)
CIE-LCHlch(42.22, 59.00, 135.85°)
OKLaboklab(48.8% -0.1155 0.0919)
OKLCHoklch(48.8% 0.148 141.5)
XYZxyz(6.9024, 12.6420, 2.8353)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217316 #681673
analogous
#507316 #217316 #16733A
triadic
#217316 #162173 #731621
tetradic
#217316 #165073 #681673 #733A16
square
#217316 #165073 #681673 #733A16
split-complementary
#217316 #3A1673 #731650
monochromatic
#071A05 #12400C #217316 #30A620 #41D72D

Accessibility & contrast

On white

5.95
#217316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#217316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217316
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217316#FFFFFF#000000##FFFFFF
##2173161.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#0E6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217316;
/* rgb */ color: rgb(33, 115, 22);
/* oklch */ color: oklch(48.8% 0.148 141.5);
Tailwind
colors: {
  custom: {
    50: '#6a9c5b',
    500: '#217316',
    950: '#000000',
  },
}
SCSS
$custom: #217316;
$custom-light: #6a9c5b;
$custom-dark: #000000;
JSON
{
  "hex": "#217316",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 112.903,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.48799,
    "c": 0.14766,
    "h": 141.5
  },
  "luminance": 0.12643
}

Semantic roles & 50–950 ramp

primary
#217316
secondary
#9C3CA9
accent
#3DEBD6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217316

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

Preview Lab → · Contrast checker → · Palette generator →

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