#217E22#217E22

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

Color values

HEX#217E22
RGBrgb(33, 126, 34)
HSLhsl(121, 58%, 31%)
HSVhsv(121, 74%, 49%)
CMYKcmyk(73.8%, 0%, 73%, 50.6%)
CIE-LABlab(46.12, -45.27, 40.42)
CIE-LCHlch(46.12, 60.69, 138.24°)
OKLaboklab(52.06% -0.1228 0.0922)
OKLCHoklch(52.06% 0.154 143.1)
XYZxyz(8.3763, 15.3596, 4.0363)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E22 #7E217D
analogous
#4E7E21 #217E22 #217E50
triadic
#217E22 #22217E #7E2221
tetradic
#217E22 #214E7E #7E217D #7E5021
square
#217E22 #214E7E #7E217D #7E5021
split-complementary
#217E22 #50217E #7E214E
monochromatic
#081D08 #144E15 #217E22 #2EAE2F #4AD04B

Accessibility & contrast

On white

5.16
#217E22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217E22
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E22#FFFFFF#000000##FFFFFF
##217E221.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817213
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#017A6C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217e22;
/* rgb */ color: rgb(33, 126, 34);
/* oklch */ color: oklch(52.1% 0.154 143.1);
Tailwind
colors: {
  custom: {
    50: '#6ca463',
    500: '#217e22',
    950: '#000000',
  },
}
SCSS
$custom: #217e22;
$custom-light: #6ca463;
$custom-dark: #000000;
JSON
{
  "hex": "#217e22",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 34
  },
  "hsl": {
    "h": 120.645,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52064,
    "c": 0.15361,
    "h": 143.1
  },
  "luminance": 0.15361
}

Semantic roles & 50–950 ramp

primary
#217E22
secondary
#B14AB0
accent
#46E0E2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #217E22

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

Preview Lab → · Contrast checker → · Palette generator →

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