#217A24#217A24

#217A24 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.147 H 143.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#217A24
RGBrgb(33, 122, 36)
HSLhsl(122, 57%, 30%)
HSVhsv(122, 73%, 48%)
CMYKcmyk(73%, 0%, 70.5%, 52.2%)
CIE-LABlab(44.76, -43.64, 38.13)
CIE-LCHlch(44.76, 57.95, 138.86°)
OKLaboklab(50.94% -0.1183 0.0877)
OKLCHoklch(50.94% 0.147 143.5)
XYZxyz(7.9047, 14.3689, 4.0256)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A24 #7A2177
analogous
#4B7A21 #217A24 #217A50
triadic
#217A24 #24217A #7A2421
tetradic
#217A24 #214B7A #7A2177 #7A5021
square
#217A24 #214B7A #7A2177 #7A5021
split-complementary
#217A24 #50217A #7A214B
monochromatic
#071A08 #144A16 #217A24 #2EAA32 #48CD4C

Accessibility & contrast

On white

5.42
#217A24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#217A24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A24
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A24#FFFFFF#000000##FFFFFF
##217A241.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E18
Deuteranopia (green-blind)
#72672C
Tritanopia (blue-blind)
#037669
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a24;
/* rgb */ color: rgb(33, 122, 36);
/* oklch */ color: oklch(50.9% 0.147 143.5);
Tailwind
colors: {
  custom: {
    50: '#6ba163',
    500: '#217a24',
    950: '#000000',
  },
}
SCSS
$custom: #217a24;
$custom-light: #6ba163;
$custom-dark: #000000;
JSON
{
  "hex": "#217a24",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 36
  },
  "hsl": {
    "h": 122.022,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50937,
    "c": 0.14726,
    "h": 143.5
  },
  "luminance": 0.1437
}

Semantic roles & 50–950 ramp

primary
#217A24
secondary
#AD4AAA
accent
#47DBE1
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #217A24

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

Preview Lab → · Contrast checker → · Palette generator →

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