#217F41#217F41

#217F41 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.128 H 150.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#217F41
RGBrgb(33, 127, 65)
HSLhsl(140, 59%, 31%)
HSVhsv(140, 74%, 50%)
CMYKcmyk(74%, 0%, 48.8%, 50.2%)
CIE-LABlab(46.82, -41.45, 26.03)
CIE-LCHlch(46.82, 48.95, 147.88°)
OKLaboklab(52.76% -0.1116 0.0636)
OKLCHoklch(52.76% 0.128 150.3)
XYZxyz(9.1700, 15.8827, 7.5824)
Luminance0.1588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217F41 #7F215F
analogous
#307F21 #217F41 #217F70
triadic
#217F41 #41217F #7F4121
tetradic
#217F41 #21307F #7F215F #7F7021
square
#217F41 #21307F #7F215F #7F7021
split-complementary
#217F41 #70217F #7F2130
monochromatic
#081E0F #144E28 #217F41 #2EB05A #4AD078

Accessibility & contrast

On white

5.03
#217F41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#217F41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217F41
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217F41#FFFFFF#000000##FFFFFF
##217F411.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80743C
Deuteranopia (green-blind)
#746C45
Tritanopia (blue-blind)
#007D70
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #217f41;
/* rgb */ color: rgb(33, 127, 65);
/* oklch */ color: oklch(52.8% 0.128 150.3);
Tailwind
colors: {
  custom: {
    50: '#6ba576',
    500: '#217f41',
    950: '#000000',
  },
}
SCSS
$custom: #217f41;
$custom-light: #6ba576;
$custom-dark: #000000;
JSON
{
  "hex": "#217f41",
  "rgb": {
    "r": 33,
    "g": 127,
    "b": 65
  },
  "hsl": {
    "h": 140.426,
    "s": 58.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52756,
    "c": 0.12843,
    "h": 150.3
  },
  "luminance": 0.15884
}

Semantic roles & 50–950 ramp

primary
#217F41
secondary
#B24A8E
accent
#46ADE2
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217F41

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

Preview Lab → · Contrast checker → · Palette generator →

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