#217A17#217A17

#217A17 is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.8% C 0.155 H 141.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#217A17
RGBrgb(33, 122, 23)
HSLhsl(114, 68%, 28%)
HSVhsv(114, 81%, 48%)
CMYKcmyk(73%, 0%, 81.1%, 52.2%)
CIE-LABlab(44.66, -44.75, 43.11)
CIE-LCHlch(44.66, 62.14, 136.07°)
OKLaboklab(50.83% -0.122 0.0963)
OKLCHoklch(50.83% 0.155 141.7)
XYZxyz(7.7410, 14.3034, 3.1633)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A17 #70177A
analogous
#527A17 #217A17 #177A3E
triadic
#217A17 #17217A #7A1721
tetradic
#217A17 #17527A #70177A #7A3E17
square
#217A17 #17527A #70177A #7A3E17
split-complementary
#217A17 #3E177A #7A1752
monochromatic
#071A05 #13470D #217A17 #2FAD21 #44D933

Accessibility & contrast

On white

5.44
#217A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#217A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A17
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A17#FFFFFF#000000##FFFFFF
##217A171.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#097668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a17;
/* rgb */ color: rgb(33, 122, 23);
/* oklch */ color: oklch(50.8% 0.155 141.7);
Tailwind
colors: {
  custom: {
    50: '#6ba15d',
    500: '#217a17',
    950: '#000000',
  },
}
SCSS
$custom: #217a17;
$custom-light: #6ba15d;
$custom-dark: #000000;
JSON
{
  "hex": "#217a17",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 113.939,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.5083,
    "c": 0.15544,
    "h": 141.7
  },
  "luminance": 0.14304
}

Semantic roles & 50–950 ramp

primary
#217A17
secondary
#A43EAF
accent
#3DEBDA
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #217A17

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

Preview Lab → · Contrast checker → · Palette generator →

#217A17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva