#217317#217317

#217317 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.147 H 141.6°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#217317
RGBrgb(33, 115, 23)
HSLhsl(113, 67%, 27%)
HSVhsv(113, 80%, 45%)
CMYKcmyk(71.3%, 0%, 80%, 54.9%)
CIE-LABlab(42.22, -42.27, 40.75)
CIE-LCHlch(42.22, 58.71, 136.05°)
OKLaboklab(48.81% -0.1153 0.0914)
OKLCHoklch(48.81% 0.147 141.6)
XYZxyz(6.9122, 12.6459, 2.8871)
Luminance0.1265 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217317 #691773
analogous
#4F7317 #217317 #17733B
triadic
#217317 #172173 #731721
tetradic
#217317 #174F73 #691773 #733B17
square
#217317 #174F73 #691773 #733B17
split-complementary
#217317 #3B1773 #73174F
monochromatic
#071A05 #12400D #217317 #30A621 #41D52F

Accessibility & contrast

On white

5.95
#217317 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#217317 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217317
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217317#FFFFFF#000000##FFFFFF
##2173171.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766802
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#0E6F62
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #217317;
/* rgb */ color: rgb(33, 115, 23);
/* oklch */ color: oklch(48.8% 0.147 141.6);
Tailwind
colors: {
  custom: {
    50: '#6a9c5c',
    500: '#217317',
    950: '#000000',
  },
}
SCSS
$custom: #217317;
$custom-light: #6a9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#217317",
  "rgb": {
    "r": 33,
    "g": 115,
    "b": 23
  },
  "hsl": {
    "h": 113.478,
    "s": 66.667,
    "l": 27.059
  },
  "oklch": {
    "l": 0.48806,
    "c": 0.14711,
    "h": 141.6
  },
  "luminance": 0.12647
}

Semantic roles & 50–950 ramp

primary
#217317
secondary
#9D3DA9
accent
#3EEAD7
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #217317

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

Preview Lab → · Contrast checker → · Palette generator →

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