#217642#217642

#217642 is a mid, moderate green. Relative luminance 0.137; OKLCH L 50.2% C 0.115 H 152.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#217642
RGBrgb(33, 118, 66)
HSLhsl(143, 56%, 30%)
HSVhsv(143, 72%, 46%)
CMYKcmyk(72%, 0%, 44.1%, 53.7%)
CIE-LABlab(43.76, -37.66, 21.54)
CIE-LCHlch(43.76, 43.39, 150.23°)
OKLaboklab(50.24% -0.1015 0.0533)
OKLCHoklch(50.24% 0.115 152.3)
XYZxyz(8.0883, 13.6727, 7.3660)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217642 #762155
analogous
#2B7621 #217642 #21766D
triadic
#217642 #422176 #764221
tetradic
#217642 #212B76 #762155 #766D21
square
#217642 #212B76 #762155 #766D21
split-complementary
#217642 #6D2176 #76212B
monochromatic
#07180D #144627 #217642 #2EA65D #46CB7A

Accessibility & contrast

On white

5.62
#217642 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#217642 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #217642
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217642#FFFFFF#000000##FFFFFF
##2176421.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766C3E
Deuteranopia (green-blind)
#6C6446
Tritanopia (blue-blind)
#007469
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #217642;
/* rgb */ color: rgb(33, 118, 66);
/* oklch */ color: oklch(50.2% 0.115 152.3);
Tailwind
colors: {
  custom: {
    50: '#699e77',
    500: '#217642',
    950: '#000000',
  },
}
SCSS
$custom: #217642;
$custom-light: #699e77;
$custom-dark: #000000;
JSON
{
  "hex": "#217642",
  "rgb": {
    "r": 33,
    "g": 118,
    "b": 66
  },
  "hsl": {
    "h": 143.294,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50235,
    "c": 0.11468,
    "h": 152.3
  },
  "luminance": 0.13674
}

Semantic roles & 50–950 ramp

primary
#217642
secondary
#A94A84
accent
#48A5E0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B

Preview Lab

Preview with #217642

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

Preview Lab → · Contrast checker → · Palette generator →

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