#217E24#217E24

#217E24 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.1% C 0.152 H 143.4°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#217E24
RGBrgb(33, 126, 36)
HSLhsl(122, 58%, 31%)
HSVhsv(122, 74%, 49%)
CMYKcmyk(73.8%, 0%, 71.4%, 50.6%)
CIE-LABlab(46.14, -45.07, 39.60)
CIE-LCHlch(46.14, 60.00, 138.70°)
OKLaboklab(52.08% -0.1222 0.0908)
OKLCHoklch(52.08% 0.152 143.4)
XYZxyz(8.4060, 15.3715, 4.1927)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E24 #7E217B
analogous
#4C7E21 #217E24 #217E52
triadic
#217E24 #24217E #7E2421
tetradic
#217E24 #214C7E #7E217B #7E5221
square
#217E24 #214C7E #7E217B #7E5221
split-complementary
#217E24 #52217E #7E214C
monochromatic
#081D08 #144E16 #217E24 #2EAE32 #4AD04E

Accessibility & contrast

On white

5.15
#217E24 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#217E24 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E24
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E24#FFFFFF#000000##FFFFFF
##217E241.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817217
Deuteranopia (green-blind)
#766A2D
Tritanopia (blue-blind)
#007A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217e24;
/* rgb */ color: rgb(33, 126, 36);
/* oklch */ color: oklch(52.1% 0.152 143.4);
Tailwind
colors: {
  custom: {
    50: '#6ca464',
    500: '#217e24',
    950: '#000000',
  },
}
SCSS
$custom: #217e24;
$custom-light: #6ca464;
$custom-dark: #000000;
JSON
{
  "hex": "#217e24",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 36
  },
  "hsl": {
    "h": 121.935,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52082,
    "c": 0.15223,
    "h": 143.4
  },
  "luminance": 0.15372
}

Semantic roles & 50–950 ramp

primary
#217E24
secondary
#B14AAD
accent
#46DDE2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F06
muted
#7A7F7A

Preview Lab

Preview with #217E24

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

Preview Lab → · Contrast checker → · Palette generator →

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