#217B47#217B47

#217B47 is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.7% C 0.117 H 153.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#217B47
RGBrgb(33, 123, 71)
HSLhsl(145, 58%, 31%)
HSVhsv(145, 73%, 48%)
CMYKcmyk(73.2%, 0%, 42.3%, 51.8%)
CIE-LABlab(45.56, -38.73, 21.07)
CIE-LCHlch(45.56, 44.09, 151.46°)
OKLaboklab(51.75% -0.1045 0.0523)
OKLCHoklch(51.75% 0.117 153.4)
XYZxyz(8.8467, 14.9432, 8.3781)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B47 #7B2155
analogous
#287B21 #217B47 #217B74
triadic
#217B47 #47217B #7B4721
tetradic
#217B47 #21287B #7B2155 #7B7421
square
#217B47 #21287B #7B2155 #7B7421
split-complementary
#217B47 #74217B #7B2128
monochromatic
#071A0F #144B2B #217B47 #2EAB63 #48CE81

Accessibility & contrast

On white

5.26
#217B47 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#217B47 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B47
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B47#FFFFFF#000000##FFFFFF
##217B471.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B7143
Deuteranopia (green-blind)
#70694A
Tritanopia (blue-blind)
#00796E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217b47;
/* rgb */ color: rgb(33, 123, 71);
/* oklch */ color: oklch(51.7% 0.117 153.4);
Tailwind
colors: {
  custom: {
    50: '#6aa27b',
    500: '#217b47',
    950: '#000000',
  },
}
SCSS
$custom: #217b47;
$custom-light: #6aa27b;
$custom-dark: #000000;
JSON
{
  "hex": "#217b47",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 71
  },
  "hsl": {
    "h": 145.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51745,
    "c": 0.11684,
    "h": 153.4
  },
  "luminance": 0.14944
}

Semantic roles & 50–950 ramp

primary
#217B47
secondary
#AE4A84
accent
#47A0E1
background
#F6FAF7
surface
#ECF3ED
border
#C7CDC8
text
#070F09
muted
#7A7F7B

Preview Lab

Preview with #217B47

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

Preview Lab → · Contrast checker → · Palette generator →

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