#217B17#217B17

#217B17 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.1% C 0.157 H 141.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#217B17
RGBrgb(33, 123, 23)
HSLhsl(114, 68%, 29%)
HSVhsv(114, 81%, 48%)
CMYKcmyk(73.2%, 0%, 81.3%, 51.8%)
CIE-LABlab(45.01, -45.11, 43.44)
CIE-LCHlch(45.01, 62.62, 136.07°)
OKLaboklab(51.12% -0.123 0.097)
OKLCHoklch(51.12% 0.157 141.7)
XYZxyz(7.8644, 14.5503, 3.2045)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B17 #71177B
analogous
#537B17 #217B17 #177B3F
triadic
#217B17 #17217B #7B1721
tetradic
#217B17 #17537B #71177B #7B3F17
square
#217B17 #17537B #71177B #7B3F17
split-complementary
#217B17 #3F177B #7B1753
monochromatic
#071A05 #13470D #217B17 #2FAF21 #44D933

Accessibility & contrast

On white

5.37
#217B17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#217B17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B17
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B17#FFFFFF#000000##FFFFFF
##217B171.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#746823
Tritanopia (blue-blind)
#087768
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217b17;
/* rgb */ color: rgb(33, 123, 23);
/* oklch */ color: oklch(51.1% 0.157 141.7);
Tailwind
colors: {
  custom: {
    50: '#6ca25d',
    500: '#217b17',
    950: '#000000',
  },
}
SCSS
$custom: #217b17;
$custom-light: #6ca25d;
$custom-dark: #000000;
JSON
{
  "hex": "#217b17",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 23
  },
  "hsl": {
    "h": 114,
    "s": 68.493,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51118,
    "c": 0.15661,
    "h": 141.7
  },
  "luminance": 0.14551
}

Semantic roles & 50–950 ramp

primary
#217B17
secondary
#A53EB0
accent
#3CEBDA
background
#F6FAF5
surface
#ECF4E9
border
#C7CEC5
text
#080F05
muted
#7A7F79

Preview Lab

Preview with #217B17

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

Preview Lab → · Contrast checker → · Palette generator →

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