#217F24#217F24

#217F24 is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.4% C 0.153 H 143.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#217F24
RGBrgb(33, 127, 36)
HSLhsl(122, 59%, 31%)
HSVhsv(122, 74%, 50%)
CMYKcmyk(74%, 0%, 71.7%, 50.2%)
CIE-LABlab(46.48, -45.43, 39.96)
CIE-LCHlch(46.48, 60.50, 138.66°)
OKLaboklab(52.37% -0.1232 0.0915)
OKLCHoklch(52.37% 0.153 143.4)
XYZxyz(8.5345, 15.6285, 4.2355)
Luminance0.1563 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F24 #7F217C
analogous
#4D7F21 #217F24 #217F53
triadic
#217F24 #24217F #7F2421
tetradic
#217F24 #214D7F #7F217C #7F5321
square
#217F24 #214D7F #7F217C #7F5321
split-complementary
#217F24 #53217F #7F214D
monochromatic
#081E08 #144E16 #217F24 #2EB032 #4AD04F

Accessibility & contrast

On white

5.09
#217F24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#217F24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F24
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F24#FFFFFF#000000##FFFFFF
##217F241.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827316
Deuteranopia (green-blind)
#776B2D
Tritanopia (blue-blind)
#007B6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217f24;
/* rgb */ color: rgb(33, 127, 36);
/* oklch */ color: oklch(52.4% 0.153 143.4);
Tailwind
colors: {
  custom: {
    50: '#6ca564',
    500: '#217f24',
    950: '#000000',
  },
}
SCSS
$custom: #217f24;
$custom-light: #6ca564;
$custom-dark: #000000;
JSON
{
  "hex": "#217f24",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 36
  },
  "hsl": {
    "h": 121.915,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52368,
    "c": 0.15346,
    "h": 143.4
  },
  "luminance": 0.15629
}

Semantic roles & 50–950 ramp

primary
#217F24
secondary
#B24AAE
accent
#46DDE2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A

Preview Lab

Preview with #217F24

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

Preview Lab → · Contrast checker → · Palette generator →

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