#217D41#217D41

#217D41 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.126 H 150.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#217D41
RGBrgb(33, 125, 65)
HSLhsl(141, 58%, 31%)
HSVhsv(141, 74%, 49%)
CMYKcmyk(73.6%, 0%, 48%, 51%)
CIE-LABlab(46.14, -40.67, 25.16)
CIE-LCHlch(46.14, 47.82, 148.25°)
OKLaboklab(52.19% -0.1095 0.0616)
OKLCHoklch(52.19% 0.126 150.6)
XYZxyz(8.9142, 15.3712, 7.4971)
Luminance0.1537 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217D41 #7D215D
analogous
#2F7D21 #217D41 #217D6F
triadic
#217D41 #41217D #7D4121
tetradic
#217D41 #212F7D #7D215D #7D6F21
square
#217D41 #212F7D #7D215D #7D6F21
split-complementary
#217D41 #6F217D #7D212F
monochromatic
#071C0F #144D28 #217D41 #2EAD5A #49CF78

Accessibility & contrast

On white

5.15
#217D41 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#217D41 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217D41
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217D41#FFFFFF#000000##FFFFFF
##217D411.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E723C
Deuteranopia (green-blind)
#736A45
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #217d41;
/* rgb */ color: rgb(33, 125, 65);
/* oklch */ color: oklch(52.2% 0.126 150.6);
Tailwind
colors: {
  custom: {
    50: '#6aa376',
    500: '#217d41',
    950: '#000000',
  },
}
SCSS
$custom: #217d41;
$custom-light: #6aa376;
$custom-dark: #000000;
JSON
{
  "hex": "#217d41",
  "rgb": {
    "r": 33,
    "g": 125,
    "b": 65
  },
  "hsl": {
    "h": 140.87,
    "s": 58.228,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52193,
    "c": 0.12564,
    "h": 150.6
  },
  "luminance": 0.15372
}

Semantic roles & 50–950 ramp

primary
#217D41
secondary
#B04A8C
accent
#46ABE1
background
#F6FAF7
surface
#ECF4ED
border
#C7CEC8
text
#070F08
muted
#7A7F7B

Preview Lab

Preview with #217D41

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

Preview Lab → · Contrast checker → · Palette generator →

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