#217D48#217D48

#217D48 is a mid, moderate green. Relative luminance 0.155; OKLCH L 52.3% C 0.119 H 153.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#217D48
RGBrgb(33, 125, 72)
HSLhsl(145, 58%, 31%)
HSVhsv(145, 74%, 49%)
CMYKcmyk(73.6%, 0%, 42.4%, 51%)
CIE-LABlab(46.25, -39.35, 21.42)
CIE-LCHlch(46.25, 44.80, 151.44°)
OKLaboklab(52.33% -0.1061 0.0532)
OKLCHoklch(52.33% 0.119 153.4)
XYZxyz(9.1297, 15.4574, 8.6321)
Luminance0.1546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D48 #7D2156
analogous
#287D21 #217D48 #217D76
triadic
#217D48 #48217D #7D4821
tetradic
#217D48 #21287D #7D2156 #7D7621
square
#217D48 #21287D #7D2156 #7D7621
split-complementary
#217D48 #76217D #7D2128
monochromatic
#071C10 #144D2C #217D48 #2EAD64 #49CF82

Accessibility & contrast

On white

5.13
#217D48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#217D48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D48
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D48#FFFFFF#000000##FFFFFF
##217D481.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7244
Deuteranopia (green-blind)
#726A4C
Tritanopia (blue-blind)
#007B70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #217d48;
/* rgb */ color: rgb(33, 125, 72);
/* oklch */ color: oklch(52.3% 0.119 153.4);
Tailwind
colors: {
  custom: {
    50: '#6aa37b',
    500: '#217d48',
    950: '#000000',
  },
}
SCSS
$custom: #217d48;
$custom-light: #6aa37b;
$custom-dark: #000000;
JSON
{
  "hex": "#217d48",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 72
  },
  "hsl": {
    "h": 145.435,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52326,
    "c": 0.1187,
    "h": 153.4
  },
  "luminance": 0.15458
}

Semantic roles & 50–950 ramp

primary
#217D48
secondary
#B04A85
accent
#46A0E1
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217D48

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

Preview Lab → · Contrast checker → · Palette generator →

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