#217B41#217B41

#217B41 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.6% C 0.123 H 150.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#217B41
RGBrgb(33, 123, 65)
HSLhsl(141, 58%, 31%)
HSVhsv(141, 73%, 48%)
CMYKcmyk(73.2%, 0%, 47.2%, 51.8%)
CIE-LABlab(45.46, -39.87, 24.29)
CIE-LCHlch(45.46, 46.69, 148.65°)
OKLaboklab(51.63% -0.1074 0.0596)
OKLCHoklch(51.63% 0.123 150.9)
XYZxyz(8.6636, 14.8699, 7.4136)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217B41 #7B215B
analogous
#2E7B21 #217B41 #217B6E
triadic
#217B41 #41217B #7B4121
tetradic
#217B41 #212E7B #7B215B #7B6E21
square
#217B41 #212E7B #7B215B #7B6E21
split-complementary
#217B41 #6E217B #7B212E
monochromatic
#071A0E #144B27 #217B41 #2EAB5A #48CE78

Accessibility & contrast

On white

5.28
#217B41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#217B41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217B41
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217B41#FFFFFF#000000##FFFFFF
##217B411.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C703D
Deuteranopia (green-blind)
#716945
Tritanopia (blue-blind)
#00796D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217b41;
/* rgb */ color: rgb(33, 123, 65);
/* oklch */ color: oklch(51.6% 0.123 150.9);
Tailwind
colors: {
  custom: {
    50: '#6aa276',
    500: '#217b41',
    950: '#000000',
  },
}
SCSS
$custom: #217b41;
$custom-light: #6aa276;
$custom-dark: #000000;
JSON
{
  "hex": "#217b41",
  "rgb": {
    "r": 33,
    "g": 123,
    "b": 65
  },
  "hsl": {
    "h": 141.333,
    "s": 57.692,
    "l": 30.588
  },
  "oklch": {
    "l": 0.51629,
    "c": 0.12282,
    "h": 150.9
  },
  "luminance": 0.14871
}

Semantic roles & 50–950 ramp

primary
#217B41
secondary
#AE4A8A
accent
#47AAE1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217B41

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

Preview Lab → · Contrast checker → · Palette generator →

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