#217717#217717

#217717 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.0% C 0.152 H 141.7°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#217717
RGBrgb(33, 119, 23)
HSLhsl(114, 68%, 28%)
HSVhsv(114, 81%, 47%)
CMYKcmyk(72.3%, 0%, 80.7%, 53.3%)
CIE-LABlab(43.62, -43.70, 42.11)
CIE-LCHlch(43.62, 60.68, 136.06°)
OKLaboklab(49.96% -0.1192 0.0942)
OKLCHoklch(49.96% 0.152 141.7)
XYZxyz(7.3783, 13.5781, 3.0424)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217717 #6D1777
analogous
#517717 #217717 #17773D
triadic
#217717 #172177 #771721
tetradic
#217717 #175177 #6D1777 #773D17
square
#217717 #175177 #6D1777 #773D17
split-complementary
#217717 #3D1777 #771751
monochromatic
#071A05 #13440D #217717 #2FAA21 #42D731

Accessibility & contrast

On white

5.65
#217717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#217717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217717
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217717#FFFFFF#000000##FFFFFF
##2177171.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#706422
Tritanopia (blue-blind)
#0B7365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #217717;
/* rgb */ color: rgb(33, 119, 23);
/* oklch */ color: oklch(50.0% 0.152 141.7);
Tailwind
colors: {
  custom: {
    50: '#6b9f5c',
    500: '#217717',
    950: '#000000',
  },
}
SCSS
$custom: #217717;
$custom-light: #6b9f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#217717",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 23
  },
  "hsl": {
    "h": 113.75,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.49964,
    "c": 0.1519,
    "h": 141.7
  },
  "luminance": 0.13579
}

Semantic roles & 50–950 ramp

primary
#217717
secondary
#A13EAC
accent
#3DEAD8
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #217717

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

Preview Lab → · Contrast checker → · Palette generator →

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