#217C24#217C24

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

Color values

HEX#217C24
RGBrgb(33, 124, 36)
HSLhsl(122, 58%, 31%)
HSVhsv(122, 73%, 49%)
CMYKcmyk(73.4%, 0%, 71%, 51.4%)
CIE-LABlab(45.45, -44.36, 38.87)
CIE-LCHlch(45.45, 58.98, 138.78°)
OKLaboklab(51.51% -0.1203 0.0892)
OKLCHoklch(51.51% 0.15 143.4)
XYZxyz(8.1528, 14.8651, 4.1083)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C24 #7C2179
analogous
#4B7C21 #217C24 #217C51
triadic
#217C24 #24217C #7C2421
tetradic
#217C24 #214B7C #7C2179 #7C5121
square
#217C24 #214B7C #7C2179 #7C5121
split-complementary
#217C24 #51217C #7C214B
monochromatic
#071B08 #144C16 #217C24 #2EAC32 #49CF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217C24#FFFFFF#000000##FFFFFF
##217C241.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)
#7F7017
Deuteranopia (green-blind)
#74692C
Tritanopia (blue-blind)
#02786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217c24;
/* rgb */ color: rgb(33, 124, 36);
/* oklch */ color: oklch(51.5% 0.150 143.4);
Tailwind
colors: {
  custom: {
    50: '#6ba364',
    500: '#217c24',
    950: '#000000',
  },
}
SCSS
$custom: #217c24;
$custom-light: #6ba364;
$custom-dark: #000000;
JSON
{
  "hex": "#217c24",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 36
  },
  "hsl": {
    "h": 121.978,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5151,
    "c": 0.14975,
    "h": 143.4
  },
  "luminance": 0.14866
}

Semantic roles & 50–950 ramp

primary
#217C24
secondary
#AF4AAC
accent
#47DCE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217C24

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

Preview Lab → · Contrast checker → · Palette generator →

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