#217718#217718

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

Color values

HEX#217718
RGBrgb(33, 119, 24)
HSLhsl(114, 66%, 28%)
HSVhsv(114, 80%, 47%)
CMYKcmyk(72.3%, 0%, 79.8%, 53.3%)
CIE-LABlab(43.63, -43.62, 41.76)
CIE-LCHlch(43.63, 60.39, 136.25°)
OKLaboklab(49.97% -0.1189 0.0936)
OKLCHoklch(49.97% 0.151 141.8)
XYZxyz(7.3885, 13.5821, 3.0962)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217718 #6E1877
analogous
#507718 #217718 #18773E
triadic
#217718 #182177 #771821
tetradic
#217718 #185077 #6E1877 #773E18
square
#217718 #185077 #6E1877 #773E18
split-complementary
#217718 #3E1877 #771850
monochromatic
#071905 #13440E #217718 #2FAA22 #43D633

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217718#FFFFFF#000000##FFFFFF
##2177181.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)
#7A6B02
Deuteranopia (green-blind)
#706423
Tritanopia (blue-blind)
#0B7365
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #217718;
/* rgb */ color: rgb(33, 119, 24);
/* oklch */ color: oklch(50.0% 0.151 141.8);
Tailwind
colors: {
  custom: {
    50: '#6b9f5d',
    500: '#217718',
    950: '#000000',
  },
}
SCSS
$custom: #217718;
$custom-light: #6b9f5d;
$custom-dark: #000000;
JSON
{
  "hex": "#217718",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 24
  },
  "hsl": {
    "h": 114.316,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.49971,
    "c": 0.15135,
    "h": 141.8
  },
  "luminance": 0.13583
}

Semantic roles & 50–950 ramp

primary
#217718
secondary
#A23FAC
accent
#3EE9D9
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070F04
muted
#7A7E79

Preview Lab

Preview with #217718

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

Preview Lab → · Contrast checker → · Palette generator →

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