#217E4C#217E4C

#217E4C is a mid, moderate green. Relative luminance 0.158; OKLCH L 52.7% C 0.116 H 154.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#217E4C
RGBrgb(33, 126, 76)
HSLhsl(148, 58%, 31%)
HSVhsv(148, 74%, 49%)
CMYKcmyk(73.8%, 0%, 39.7%, 50.6%)
CIE-LABlab(46.67, -38.95, 19.70)
CIE-LCHlch(46.67, 43.65, 153.17°)
OKLaboklab(52.69% -0.1052 0.0492)
OKLCHoklch(52.69% 0.116 154.9)
XYZxyz(9.3917, 15.7658, 9.3842)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E4C #7E2153
analogous
#247E21 #217E4C #217E7A
triadic
#217E4C #4C217E #7E4C21
tetradic
#217E4C #21247E #7E2153 #7E7A21
square
#217E4C #21247E #7E2153 #7E7A21
split-complementary
#217E4C #7A217E #7E2124
monochromatic
#081D11 #144E2F #217E4C #2EAE69 #4AD088

Accessibility & contrast

On white

5.06
#217E4C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#217E4C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E4C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E4C#FFFFFF#000000##FFFFFF
##217E4C1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7349
Deuteranopia (green-blind)
#726B4F
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217e4c;
/* rgb */ color: rgb(33, 126, 76);
/* oklch */ color: oklch(52.7% 0.116 154.9);
Tailwind
colors: {
  custom: {
    50: '#6aa47e',
    500: '#217e4c',
    950: '#000000',
  },
}
SCSS
$custom: #217e4c;
$custom-light: #6aa47e;
$custom-dark: #000000;
JSON
{
  "hex": "#217e4c",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 76
  },
  "hsl": {
    "h": 147.742,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52689,
    "c": 0.11615,
    "h": 154.9
  },
  "luminance": 0.15767
}

Semantic roles & 50–950 ramp

primary
#217E4C
secondary
#B14A81
accent
#469AE2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217E4C

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

Preview Lab → · Contrast checker → · Palette generator →

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