#217C23#217C23

#217C23 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.150 H 143.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#217C23
RGBrgb(33, 124, 35)
HSLhsl(121, 58%, 31%)
HSVhsv(121, 73%, 49%)
CMYKcmyk(73.4%, 0%, 71.8%, 51.4%)
CIE-LABlab(45.44, -44.46, 39.29)
CIE-LCHlch(45.44, 59.33, 138.53°)
OKLaboklab(51.5% -0.1206 0.09)
OKLCHoklch(51.5% 0.15 143.3)
XYZxyz(8.1377, 14.8591, 4.0290)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C23 #7C217A
analogous
#4C7C21 #217C23 #217C50
triadic
#217C23 #23217C #7C2321
tetradic
#217C23 #214C7C #7C217A #7C5021
square
#217C23 #214C7C #7C217A #7C5021
split-complementary
#217C23 #50217C #7C214C
monochromatic
#071B08 #144C15 #217C23 #2EAC31 #49CF4C

Accessibility & contrast

On white

5.29
#217C23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#217C23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C23
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C23#FFFFFF#000000##FFFFFF
##217C231.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7016
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#02786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217c23;
/* rgb */ color: rgb(33, 124, 35);
/* oklch */ color: oklch(51.5% 0.150 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ba363',
    500: '#217c23',
    950: '#000000',
  },
}
SCSS
$custom: #217c23;
$custom-light: #6ba363;
$custom-dark: #000000;
JSON
{
  "hex": "#217c23",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 35
  },
  "hsl": {
    "h": 121.319,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.515,
    "c": 0.15046,
    "h": 143.3
  },
  "luminance": 0.1486
}

Semantic roles & 50–950 ramp

primary
#217C23
secondary
#AF4AAD
accent
#47DEE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #217C23

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

Preview Lab → · Contrast checker → · Palette generator →

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