#217D17#217D17

#217D17 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.7% C 0.159 H 141.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#217D17
RGBrgb(33, 125, 23)
HSLhsl(114, 69%, 29%)
HSVhsv(114, 82%, 49%)
CMYKcmyk(73.6%, 0%, 81.6%, 51%)
CIE-LABlab(45.70, -45.80, 44.11)
CIE-LCHlch(45.70, 63.59, 136.08°)
OKLaboklab(51.69% -0.1248 0.0984)
OKLCHoklch(51.69% 0.159 141.8)
XYZxyz(8.1150, 15.0515, 3.2880)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D17 #73177D
analogous
#547D17 #217D17 #177D40
triadic
#217D17 #17217D #7D1721
tetradic
#217D17 #17547D #73177D #7D4017
square
#217D17 #17547D #73177D #7D4017
split-complementary
#217D17 #40177D #7D1754
monochromatic
#071A05 #13490D #217D17 #2FB121 #45DA35

Accessibility & contrast

On white

5.24
#217D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#217D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D17
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D17#FFFFFF#000000##FFFFFF
##217D171.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#766923
Tritanopia (blue-blind)
#06796A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217d17;
/* rgb */ color: rgb(33, 125, 23);
/* oklch */ color: oklch(51.7% 0.159 141.8);
Tailwind
colors: {
  custom: {
    50: '#6ca45d',
    500: '#217d17',
    950: '#000000',
  },
}
SCSS
$custom: #217d17;
$custom-light: #6ca45d;
$custom-dark: #000000;
JSON
{
  "hex": "#217d17",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 114.118,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51693,
    "c": 0.15894,
    "h": 141.8
  },
  "luminance": 0.15052
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #217D17

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

Preview Lab → · Contrast checker → · Palette generator →

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