#217F17#217F17

#217F17 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.3% C 0.161 H 141.8°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#217F17
RGBrgb(33, 127, 23)
HSLhsl(114, 69%, 29%)
HSVhsv(114, 82%, 50%)
CMYKcmyk(74%, 0%, 81.9%, 50.2%)
CIE-LABlab(46.40, -46.49, 44.76)
CIE-LCHlch(46.40, 64.54, 136.08°)
OKLaboklab(52.27% -0.1267 0.0997)
OKLCHoklch(52.27% 0.161 141.8)
XYZxyz(8.3708, 15.5630, 3.3733)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F17 #75177F
analogous
#557F17 #217F17 #177F41
triadic
#217F17 #17217F #7F1721
tetradic
#217F17 #17557F #75177F #7F4117
square
#217F17 #17557F #75177F #7F4117
split-complementary
#217F17 #41177F #7F1755
monochromatic
#071A05 #144B0E #217F17 #2EB320 #46DB36

Accessibility & contrast

On white

5.11
#217F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#217F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F17
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F17#FFFFFF#000000##FFFFFF
##217F171.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#786B24
Tritanopia (blue-blind)
#047B6C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217f17;
/* rgb */ color: rgb(33, 127, 23);
/* oklch */ color: oklch(52.3% 0.161 141.8);
Tailwind
colors: {
  custom: {
    50: '#6da55d',
    500: '#217f17',
    950: '#000000',
  },
}
SCSS
$custom: #217f17;
$custom-light: #6da55d;
$custom-dark: #000000;
JSON
{
  "hex": "#217f17",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 23
  },
  "hsl": {
    "h": 114.231,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52267,
    "c": 0.16126,
    "h": 141.8
  },
  "luminance": 0.15564
}

Semantic roles & 50–950 ramp

primary
#217F17
secondary
#A83EB4
accent
#3CECDB
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #217F17

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

Preview Lab → · Contrast checker → · Palette generator →

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