#217E4D#217E4D

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

Color values

HEX#217E4D
RGBrgb(33, 126, 77)
HSLhsl(148, 58%, 31%)
HSVhsv(148, 74%, 49%)
CMYKcmyk(73.8%, 0%, 38.9%, 50.6%)
CIE-LABlab(46.68, -38.75, 19.16)
CIE-LCHlch(46.68, 43.23, 153.69°)
OKLaboklab(52.71% -0.1047 0.0479)
OKLCHoklch(52.71% 0.115 155.4)
XYZxyz(9.4267, 15.7798, 9.5687)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217E4D #7E2152
analogous
#237E21 #217E4D #217E7B
triadic
#217E4D #4D217E #7E4D21
tetradic
#217E4D #21237E #7E2152 #7E7B21
square
#217E4D #21237E #7E2152 #7E7B21
split-complementary
#217E4D #7B217E #7E2123
monochromatic
#081D12 #144E2F #217E4D #2EAE6B #4AD089

Accessibility & contrast

On white

5.05
#217E4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#217E4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217E4D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217E4D#FFFFFF#000000##FFFFFF
##217E4D1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D744A
Deuteranopia (green-blind)
#726B50
Tritanopia (blue-blind)
#007D72
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217e4d;
/* rgb */ color: rgb(33, 126, 77);
/* oklch */ color: oklch(52.7% 0.115 155.4);
Tailwind
colors: {
  custom: {
    50: '#6aa47f',
    500: '#217e4d',
    950: '#000000',
  },
}
SCSS
$custom: #217e4d;
$custom-light: #6aa47f;
$custom-dark: #000000;
JSON
{
  "hex": "#217e4d",
  "rgb": {
    "r": 33,
    "g": 126,
    "b": 77
  },
  "hsl": {
    "h": 148.387,
    "s": 58.491,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5271,
    "c": 0.11516,
    "h": 155.4
  },
  "luminance": 0.15781
}

Semantic roles & 50–950 ramp

primary
#217E4D
secondary
#B14A80
accent
#4698E2
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #217E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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