#217A23#217A23

#217A23 is a mid, vivid green. Relative luminance 0.144; OKLCH L 50.9% C 0.148 H 143.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#217A23
RGBrgb(33, 122, 35)
HSLhsl(121, 57%, 30%)
HSVhsv(121, 73%, 48%)
CMYKcmyk(73%, 0%, 71.3%, 52.2%)
CIE-LABlab(44.75, -43.74, 38.55)
CIE-LCHlch(44.75, 58.30, 138.61°)
OKLaboklab(50.93% -0.1186 0.0884)
OKLCHoklch(50.93% 0.148 143.3)
XYZxyz(7.8896, 14.3629, 3.9463)
Luminance0.1436 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217A23 #7A2178
analogous
#4C7A21 #217A23 #217A4F
triadic
#217A23 #23217A #7A2321
tetradic
#217A23 #214C7A #7A2178 #7A4F21
square
#217A23 #214C7A #7A2178 #7A4F21
split-complementary
#217A23 #4F217A #7A214C
monochromatic
#071A07 #144A15 #217A23 #2EAA31 #48CD4B

Accessibility & contrast

On white

5.42
#217A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#217A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217A23
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217A23#FFFFFF#000000##FFFFFF
##217A231.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E16
Deuteranopia (green-blind)
#72672B
Tritanopia (blue-blind)
#047668
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #217a23;
/* rgb */ color: rgb(33, 122, 35);
/* oklch */ color: oklch(50.9% 0.148 143.3);
Tailwind
colors: {
  custom: {
    50: '#6ba163',
    500: '#217a23',
    950: '#000000',
  },
}
SCSS
$custom: #217a23;
$custom-light: #6ba163;
$custom-dark: #000000;
JSON
{
  "hex": "#217a23",
  "rgb": {
    "r": 33,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 121.348,
    "s": 57.419,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50927,
    "c": 0.14798,
    "h": 143.3
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#217A23
secondary
#AD4AAB
accent
#47DDE1
background
#F6FAF6
surface
#ECF3EB
border
#C7CDC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #217A23

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

Preview Lab → · Contrast checker → · Palette generator →

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