#217F47#217F47

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

Color values

HEX#217F47
RGBrgb(33, 127, 71)
HSLhsl(144, 59%, 31%)
HSVhsv(144, 74%, 50%)
CMYKcmyk(74%, 0%, 44.1%, 50.2%)
CIE-LABlab(46.92, -40.35, 22.84)
CIE-LCHlch(46.92, 46.37, 150.49°)
OKLaboklab(52.87% -0.1087 0.0565)
OKLCHoklch(52.87% 0.123 152.5)
XYZxyz(9.3531, 15.9559, 8.5469)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F47 #7F2159
analogous
#2A7F21 #217F47 #217F76
triadic
#217F47 #47217F #7F4721
tetradic
#217F47 #212A7F #7F2159 #7F7621
square
#217F47 #212A7F #7F2159 #7F7621
split-complementary
#217F47 #76217F #7F212A
monochromatic
#081E11 #144E2C #217F47 #2EB062 #4AD080

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217F47#FFFFFF#000000##FFFFFF
##217F471.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)
#7F7443
Deuteranopia (green-blind)
#746C4B
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f47;
/* rgb */ color: rgb(33, 127, 71);
/* oklch */ color: oklch(52.9% 0.123 152.5);
Tailwind
colors: {
  custom: {
    50: '#6ba57b',
    500: '#217f47',
    950: '#000000',
  },
}
SCSS
$custom: #217f47;
$custom-light: #6ba57b;
$custom-dark: #000000;
JSON
{
  "hex": "#217f47",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 71
  },
  "hsl": {
    "h": 144.255,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52867,
    "c": 0.12252,
    "h": 152.5
  },
  "luminance": 0.15957
}

Semantic roles & 50–950 ramp

primary
#217F47
secondary
#B24A88
accent
#46A3E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217F47

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

Preview Lab → · Contrast checker → · Palette generator →

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