#217C48#217C48

#217C48 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.0% C 0.117 H 153.6°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#217C48
RGBrgb(33, 124, 72)
HSLhsl(146, 58%, 31%)
HSVhsv(146, 73%, 49%)
CMYKcmyk(73.4%, 0%, 41.9%, 51.4%)
CIE-LABlab(45.91, -38.94, 20.97)
CIE-LCHlch(45.91, 44.23, 151.70°)
OKLaboklab(52.05% -0.105 0.0521)
OKLCHoklch(52.05% 0.117 153.6)
XYZxyz(9.0037, 15.2055, 8.5901)
Luminance0.1521 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C48 #7C2155
analogous
#277C21 #217C48 #217C75
triadic
#217C48 #48217C #7C4821
tetradic
#217C48 #21277C #7C2155 #7C7521
square
#217C48 #21277C #7C2155 #7C7521
split-complementary
#217C48 #75217C #7C2127
monochromatic
#071B10 #144C2C #217C48 #2EAC64 #49CF82

Accessibility & contrast

On white

5.20
#217C48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#217C48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C48
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C48#FFFFFF#000000##FFFFFF
##217C481.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C7144
Deuteranopia (green-blind)
#716A4B
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217c48;
/* rgb */ color: rgb(33, 124, 72);
/* oklch */ color: oklch(52.0% 0.117 153.6);
Tailwind
colors: {
  custom: {
    50: '#6aa37b',
    500: '#217c48',
    950: '#000000',
  },
}
SCSS
$custom: #217c48;
$custom-light: #6aa37b;
$custom-dark: #000000;
JSON
{
  "hex": "#217c48",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 72
  },
  "hsl": {
    "h": 145.714,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52046,
    "c": 0.11727,
    "h": 153.6
  },
  "luminance": 0.15207
}

Semantic roles & 50–950 ramp

primary
#217C48
secondary
#AF4A84
accent
#479FE1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217C48

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

Preview Lab → · Contrast checker → · Palette generator →

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