#217C22#217C22

#217C22 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.5% C 0.151 H 143.1°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#217C22
RGBrgb(33, 124, 34)
HSLhsl(121, 58%, 31%)
HSVhsv(121, 73%, 49%)
CMYKcmyk(73.4%, 0%, 72.6%, 51.4%)
CIE-LABlab(45.43, -44.55, 39.70)
CIE-LCHlch(45.43, 59.68, 138.30°)
OKLaboklab(51.49% -0.1209 0.0907)
OKLCHoklch(51.49% 0.151 143.1)
XYZxyz(8.1231, 14.8532, 3.9519)
Luminance0.1485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C22 #7C217B
analogous
#4D7C21 #217C22 #217C4F
triadic
#217C22 #22217C #7C2221
tetradic
#217C22 #214D7C #7C217B #7C4F21
square
#217C22 #214D7C #7C217B #7C4F21
split-complementary
#217C22 #4F217C #7C214D
monochromatic
#071B07 #144C15 #217C22 #2EAC2F #49CF4A

Accessibility & contrast

On white

5.29
#217C22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#217C22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C22
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C22#FFFFFF#000000##FFFFFF
##217C221.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#74692B
Tritanopia (blue-blind)
#03786A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217c22;
/* rgb */ color: rgb(33, 124, 34);
/* oklch */ color: oklch(51.5% 0.151 143.1);
Tailwind
colors: {
  custom: {
    50: '#6ba362',
    500: '#217c22',
    950: '#000000',
  },
}
SCSS
$custom: #217c22;
$custom-light: #6ba362;
$custom-dark: #000000;
JSON
{
  "hex": "#217c22",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 120.659,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51491,
    "c": 0.15116,
    "h": 143.1
  },
  "luminance": 0.14854
}

Semantic roles & 50–950 ramp

primary
#217C22
secondary
#AF4AAE
accent
#47DFE1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #217C22

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

Preview Lab → · Contrast checker → · Palette generator →

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