#217D24#217D24

#217D24 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.8% C 0.151 H 143.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#217D24
RGBrgb(33, 125, 36)
HSLhsl(122, 58%, 31%)
HSVhsv(122, 74%, 49%)
CMYKcmyk(73.6%, 0%, 71.2%, 51%)
CIE-LABlab(45.79, -44.72, 39.23)
CIE-LCHlch(45.79, 59.49, 138.74°)
OKLaboklab(51.8% -0.1212 0.09)
OKLCHoklch(51.8% 0.151 143.4)
XYZxyz(8.2787, 15.1170, 4.1503)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D24 #7D217A
analogous
#4C7D21 #217D24 #217D52
triadic
#217D24 #24217D #7D2421
tetradic
#217D24 #214C7D #7D217A #7D5221
square
#217D24 #214C7D #7D217A #7D5221
split-complementary
#217D24 #52217D #7D214C
monochromatic
#071C08 #144D16 #217D24 #2EAD32 #49CF4E

Accessibility & contrast

On white

5.22
#217D24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#217D24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D24
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D24#FFFFFF#000000##FFFFFF
##217D241.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807117
Deuteranopia (green-blind)
#756A2D
Tritanopia (blue-blind)
#01796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217d24;
/* rgb */ color: rgb(33, 125, 36);
/* oklch */ color: oklch(51.8% 0.151 143.4);
Tailwind
colors: {
  custom: {
    50: '#6ba464',
    500: '#217d24',
    950: '#000000',
  },
}
SCSS
$custom: #217d24;
$custom-light: #6ba464;
$custom-dark: #000000;
JSON
{
  "hex": "#217d24",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 36
  },
  "hsl": {
    "h": 121.957,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51796,
    "c": 0.15099,
    "h": 143.4
  },
  "luminance": 0.15118
}

Semantic roles & 50–950 ramp

primary
#217D24
secondary
#B04AAC
accent
#46DCE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217D24

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

Preview Lab → · Contrast checker → · Palette generator →

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