#217C45#217C45

#217C45 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.120 H 152.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#217C45
RGBrgb(33, 124, 69)
HSLhsl(144, 58%, 31%)
HSVhsv(144, 73%, 49%)
CMYKcmyk(73.4%, 0%, 44.4%, 51.4%)
CIE-LABlab(45.86, -39.53, 22.59)
CIE-LCHlch(45.86, 45.53, 150.25°)
OKLaboklab(51.99% -0.1065 0.0558)
OKLCHoklch(51.99% 0.12 152.3)
XYZxyz(8.9083, 15.1673, 8.0872)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C45 #7C2158
analogous
#2A7C21 #217C45 #217C72
triadic
#217C45 #45217C #7C4521
tetradic
#217C45 #212A7C #7C2158 #7C7221
square
#217C45 #212A7C #7C2158 #7C7221
split-complementary
#217C45 #72217C #7C212A
monochromatic
#071B0F #144C2A #217C45 #2EAC60 #49CF7E

Accessibility & contrast

On white

5.21
#217C45 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#217C45 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C45
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C45#FFFFFF#000000##FFFFFF
##217C451.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7141
Deuteranopia (green-blind)
#716949
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217c45;
/* rgb */ color: rgb(33, 124, 69);
/* oklch */ color: oklch(52.0% 0.120 152.3);
Tailwind
colors: {
  custom: {
    50: '#6aa379',
    500: '#217c45',
    950: '#000000',
  },
}
SCSS
$custom: #217c45;
$custom-light: #6aa379;
$custom-dark: #000000;
JSON
{
  "hex": "#217c45",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 69
  },
  "hsl": {
    "h": 143.736,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51986,
    "c": 0.12026,
    "h": 152.3
  },
  "luminance": 0.15168
}

Semantic roles & 50–950 ramp

primary
#217C45
secondary
#AF4A87
accent
#47A4E1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217C45

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

Preview Lab → · Contrast checker → · Palette generator →

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