#217F48#217F48

#217F48 is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.9% C 0.122 H 152.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#217F48
RGBrgb(33, 127, 72)
HSLhsl(145, 59%, 31%)
HSVhsv(145, 74%, 50%)
CMYKcmyk(74%, 0%, 43.3%, 50.2%)
CIE-LABlab(46.93, -40.16, 22.31)
CIE-LCHlch(46.93, 45.94, 150.95°)
OKLaboklab(52.89% -0.1082 0.0553)
OKLCHoklch(52.89% 0.122 152.9)
XYZxyz(9.3854, 15.9689, 8.7173)
Luminance0.1597 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F48 #7F2158
analogous
#297F21 #217F48 #217F77
triadic
#217F48 #48217F #7F4821
tetradic
#217F48 #21297F #7F2158 #7F7721
square
#217F48 #21297F #7F2158 #7F7721
split-complementary
#217F48 #77217F #7F2129
monochromatic
#081E11 #144E2C #217F48 #2EB064 #4AD082

Accessibility & contrast

On white

5.01
#217F48 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#217F48 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F48
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F48#FFFFFF#000000##FFFFFF
##217F481.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7444
Deuteranopia (green-blind)
#746C4C
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f48;
/* rgb */ color: rgb(33, 127, 72);
/* oklch */ color: oklch(52.9% 0.122 152.9);
Tailwind
colors: {
  custom: {
    50: '#6ba57b',
    500: '#217f48',
    950: '#000000',
  },
}
SCSS
$custom: #217f48;
$custom-light: #6ba57b;
$custom-dark: #000000;
JSON
{
  "hex": "#217f48",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 72
  },
  "hsl": {
    "h": 144.894,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52887,
    "c": 0.12153,
    "h": 152.9
  },
  "luminance": 0.1597
}

Semantic roles & 50–950 ramp

primary
#217F48
secondary
#B24A87
accent
#46A1E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217F48

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

Preview Lab → · Contrast checker → · Palette generator →

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