#217542#217542

#217542 is a mid, moderate green. Relative luminance 0.134; OKLCH L 50.0% C 0.113 H 152.5°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#217542
RGBrgb(33, 117, 66)
HSLhsl(144, 56%, 29%)
HSVhsv(144, 72%, 46%)
CMYKcmyk(71.8%, 0%, 43.6%, 54.1%)
CIE-LABlab(43.42, -37.25, 21.09)
CIE-LCHlch(43.42, 42.80, 150.48°)
OKLaboklab(49.95% -0.1004 0.0523)
OKLCHoklch(49.95% 0.113 152.5)
XYZxyz(7.9712, 13.4384, 7.3270)
Luminance0.1344 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217542 #752154
analogous
#2A7521 #217542 #21756C
triadic
#217542 #422175 #754221
tetradic
#217542 #212A75 #752154 #756C21
square
#217542 #212A75 #752154 #756C21
split-complementary
#217542 #6C2175 #75212A
monochromatic
#07180D #144527 #217542 #2EA55D #46CB7A

Accessibility & contrast

On white

5.69
#217542 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#217542 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217542
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217542#FFFFFF#000000##FFFFFF
##2175421.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756B3E
Deuteranopia (green-blind)
#6B6445
Tritanopia (blue-blind)
#007368
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #217542;
/* rgb */ color: rgb(33, 117, 66);
/* oklch */ color: oklch(50.0% 0.113 152.5);
Tailwind
colors: {
  custom: {
    50: '#689d77',
    500: '#217542',
    950: '#000000',
  },
}
SCSS
$custom: #217542;
$custom-light: #689d77;
$custom-dark: #000000;
JSON
{
  "hex": "#217542",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 66
  },
  "hsl": {
    "h": 143.571,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.49952,
    "c": 0.11323,
    "h": 152.5
  },
  "luminance": 0.13439
}

Semantic roles & 50–950 ramp

primary
#217542
secondary
#A84A83
accent
#49A4DF
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #217542

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

Preview Lab → · Contrast checker → · Palette generator →

#217542 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva