#217E4B#217E4B

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

Color values

HEX#217E4B
RGBrgb(33, 126, 75)
HSLhsl(147, 58%, 31%)
HSVhsv(147, 74%, 49%)
CMYKcmyk(73.8%, 0%, 40.5%, 50.6%)
CIE-LABlab(46.65, -39.16, 20.24)
CIE-LCHlch(46.65, 44.08, 152.66°)
OKLaboklab(52.67% -0.1057 0.0505)
OKLCHoklch(52.67% 0.117 154.5)
XYZxyz(9.3572, 15.7520, 9.2025)
Luminance0.1575 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E4B #7E2154
analogous
#257E21 #217E4B #217E79
triadic
#217E4B #4B217E #7E4B21
tetradic
#217E4B #21257E #7E2154 #7E7921
square
#217E4B #21257E #7E2154 #7E7921
split-complementary
#217E4B #79217E #7E2125
monochromatic
#081D11 #144E2E #217E4B #2EAE68 #4AD086

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217E4B#FFFFFF#000000##FFFFFF
##217E4B1.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)
#7E7348
Deuteranopia (green-blind)
#726B4E
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217e4b;
/* rgb */ color: rgb(33, 126, 75);
/* oklch */ color: oklch(52.7% 0.117 154.5);
Tailwind
colors: {
  custom: {
    50: '#6aa47e',
    500: '#217e4b',
    950: '#000000',
  },
}
SCSS
$custom: #217e4b;
$custom-light: #6aa47e;
$custom-dark: #000000;
JSON
{
  "hex": "#217e4b",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 75
  },
  "hsl": {
    "h": 147.097,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52668,
    "c": 0.11714,
    "h": 154.5
  },
  "luminance": 0.15753
}

Semantic roles & 50–950 ramp

primary
#217E4B
secondary
#B14A82
accent
#469BE2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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