#217917#217917

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

Color values

HEX#217917
RGBrgb(33, 121, 23)
HSLhsl(114, 68%, 28%)
HSVhsv(114, 81%, 47%)
CMYKcmyk(72.7%, 0%, 81%, 52.5%)
CIE-LABlab(44.32, -44.40, 42.78)
CIE-LCHlch(44.32, 61.66, 136.07°)
OKLaboklab(50.54% -0.1211 0.0956)
OKLCHoklch(50.54% 0.154 141.7)
XYZxyz(7.6188, 14.0591, 3.1226)
Luminance0.1406 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217917 #6F1779
analogous
#527917 #217917 #17793E
triadic
#217917 #172179 #791721
tetradic
#217917 #175279 #6F1779 #793E17
square
#217917 #175279 #6F1779 #793E17
split-complementary
#217917 #3E1779 #791752
monochromatic
#071A05 #13460D #217917 #2FAC21 #43D832

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217917#FFFFFF#000000##FFFFFF
##2179171.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: #217917;
/* rgb */ color: rgb(33, 121, 23);
/* oklch */ color: oklch(50.5% 0.154 141.7);
Tailwind
colors: {
  custom: {
    50: '#6ba15d',
    500: '#217917',
    950: '#000000',
  },
}
SCSS
$custom: #217917;
$custom-light: #6ba15d;
$custom-dark: #000000;
JSON
{
  "hex": "#217917",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 113.878,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.50542,
    "c": 0.15427,
    "h": 141.7
  },
  "luminance": 0.1406
}

Semantic roles & 50–950 ramp

primary
#217917
secondary
#A33EAE
accent
#3DEBD9
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#080F04
muted
#7A7F79

Preview Lab

Preview with #217917

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

Preview Lab → · Contrast checker → · Palette generator →

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