#217F22#217F22

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

Color values

HEX#217F22
RGBrgb(33, 127, 34)
HSLhsl(121, 59%, 31%)
HSVhsv(121, 74%, 50%)
CMYKcmyk(74%, 0%, 73.2%, 50.2%)
CIE-LABlab(46.47, -45.62, 40.78)
CIE-LCHlch(46.47, 61.19, 138.20°)
OKLaboklab(52.35% -0.1238 0.093)
OKLCHoklch(52.35% 0.155 143.1)
XYZxyz(8.5048, 15.6166, 4.0792)
Luminance0.1562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F22 #7F217E
analogous
#4F7F21 #217F22 #217F51
triadic
#217F22 #22217F #7F2221
tetradic
#217F22 #214F7F #7F217E #7F5121
square
#217F22 #214F7F #7F217E #7F5121
split-complementary
#217F22 #51217F #7F214F
monochromatic
#081E08 #144E15 #217F22 #2EB02F #4AD04C

Accessibility & contrast

On white

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

On black

4.12
#217F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##217F22#FFFFFF#000000##FFFFFF
##217F221.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #217f22;
/* rgb */ color: rgb(33, 127, 34);
/* oklch */ color: oklch(52.3% 0.155 143.1);
Tailwind
colors: {
  custom: {
    50: '#6ca563',
    500: '#217f22',
    950: '#000000',
  },
}
SCSS
$custom: #217f22;
$custom-light: #6ca563;
$custom-dark: #000000;
JSON
{
  "hex": "#217f22",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 120.638,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.5235,
    "c": 0.15483,
    "h": 143.1
  },
  "luminance": 0.15618
}

Semantic roles & 50–950 ramp

primary
#217F22
secondary
#B24AB1
accent
#46E0E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F05
muted
#7B7F7A

Preview Lab

Preview with #217F22

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

Preview Lab → · Contrast checker → · Palette generator →

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