#217C17#217C17

#217C17 is a mid, vivid green. Relative luminance 0.148; OKLCH L 51.4% C 0.158 H 141.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#217C17
RGBrgb(33, 124, 23)
HSLhsl(114, 69%, 29%)
HSVhsv(114, 81%, 49%)
CMYKcmyk(73.4%, 0%, 81.5%, 51.4%)
CIE-LABlab(45.36, -45.45, 43.78)
CIE-LCHlch(45.36, 63.11, 136.08°)
OKLaboklab(51.41% -0.1239 0.0977)
OKLCHoklch(51.41% 0.158 141.8)
XYZxyz(7.9891, 14.7996, 3.2460)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C17 #72177C
analogous
#547C17 #217C17 #177C40
triadic
#217C17 #17217C #7C1721
tetradic
#217C17 #17547C #72177C #7C4017
square
#217C17 #17547C #72177C #7C4017
split-complementary
#217C17 #40177C #7C1754
monochromatic
#071A05 #13480D #217C17 #2FB021 #44D934

Accessibility & contrast

On white

5.30
#217C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#217C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C17
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C17#FFFFFF#000000##FFFFFF
##217C171.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#077869
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #217c17;
/* rgb */ color: rgb(33, 124, 23);
/* oklch */ color: oklch(51.4% 0.158 141.8);
Tailwind
colors: {
  custom: {
    50: '#6ca35d',
    500: '#217c17',
    950: '#000000',
  },
}
SCSS
$custom: #217c17;
$custom-light: #6ca35d;
$custom-dark: #000000;
JSON
{
  "hex": "#217c17",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 114.059,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.51406,
    "c": 0.15778,
    "h": 141.8
  },
  "luminance": 0.148
}

Semantic roles & 50–950 ramp

primary
#217C17
secondary
#A53EB1
accent
#3CECDA
background
#F7FAF5
surface
#EDF4E9
border
#C8CEC5
text
#080F05
muted
#7B7F79

Preview Lab

Preview with #217C17

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

Preview Lab → · Contrast checker → · Palette generator →

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