#217D22#217D22

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

Color values

HEX#217D22
RGBrgb(33, 125, 34)
HSLhsl(121, 58%, 31%)
HSVhsv(121, 74%, 49%)
CMYKcmyk(73.6%, 0%, 72.8%, 51%)
CIE-LABlab(45.78, -44.91, 40.06)
CIE-LCHlch(45.78, 60.18, 138.27°)
OKLaboklab(51.78% -0.1219 0.0915)
OKLCHoklch(51.78% 0.152 143.1)
XYZxyz(8.2490, 15.1051, 3.9939)
Luminance0.1511 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D22 #7D217C
analogous
#4E7D21 #217D22 #217D50
triadic
#217D22 #22217D #7D2221
tetradic
#217D22 #214E7D #7D217C #7D5021
square
#217D22 #214E7D #7D217C #7D5021
split-complementary
#217D22 #50217D #7D214E
monochromatic
#071C08 #144D15 #217D22 #2EAD2F #49CF4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217D22#FFFFFF#000000##FFFFFF
##217D221.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)
#807114
Deuteranopia (green-blind)
#756A2B
Tritanopia (blue-blind)
#02796B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217d22;
/* rgb */ color: rgb(33, 125, 34);
/* oklch */ color: oklch(51.8% 0.152 143.1);
Tailwind
colors: {
  custom: {
    50: '#6ca463',
    500: '#217d22',
    950: '#000000',
  },
}
SCSS
$custom: #217d22;
$custom-light: #6ca463;
$custom-dark: #000000;
JSON
{
  "hex": "#217d22",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 120.652,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.51778,
    "c": 0.15239,
    "h": 143.1
  },
  "luminance": 0.15106
}

Semantic roles & 50–950 ramp

primary
#217D22
secondary
#B04AAF
accent
#46E0E1
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#080F05
muted
#7A7F7A

Preview Lab

Preview with #217D22

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

Preview Lab → · Contrast checker → · Palette generator →

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