#217C41#217C41

#217C41 is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.124 H 150.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#217C41
RGBrgb(33, 124, 65)
HSLhsl(141, 58%, 31%)
HSVhsv(141, 73%, 49%)
CMYKcmyk(73.4%, 0%, 47.6%, 51.4%)
CIE-LABlab(45.80, -40.27, 24.73)
CIE-LCHlch(45.80, 47.26, 148.45°)
OKLaboklab(51.91% -0.1084 0.0606)
OKLCHoklch(51.91% 0.124 150.8)
XYZxyz(8.7883, 15.1193, 7.4552)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217C41 #7C215C
analogous
#2E7C21 #217C41 #217C6E
triadic
#217C41 #41217C #7C4121
tetradic
#217C41 #212E7C #7C215C #7C6E21
square
#217C41 #212E7C #7C215C #7C6E21
split-complementary
#217C41 #6E217C #7C212E
monochromatic
#071B0E #144C28 #217C41 #2EAC5A #49CF78

Accessibility & contrast

On white

5.22
#217C41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#217C41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217C41
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217C41#FFFFFF#000000##FFFFFF
##217C411.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D713C
Deuteranopia (green-blind)
#726945
Tritanopia (blue-blind)
#007A6E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #217c41;
/* rgb */ color: rgb(33, 124, 65);
/* oklch */ color: oklch(51.9% 0.124 150.8);
Tailwind
colors: {
  custom: {
    50: '#6aa376',
    500: '#217c41',
    950: '#000000',
  },
}
SCSS
$custom: #217c41;
$custom-light: #6aa376;
$custom-dark: #000000;
JSON
{
  "hex": "#217c41",
  "rgb": {
    "r": 33,
    "g": 124,
    "b": 65
  },
  "hsl": {
    "h": 141.099,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.51911,
    "c": 0.12423,
    "h": 150.8
  },
  "luminance": 0.1512
}

Semantic roles & 50–950 ramp

primary
#217C41
secondary
#AF4A8B
accent
#47ABE1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217C41

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

Preview Lab → · Contrast checker → · Palette generator →

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