#217728#217728

#217728 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.1% C 0.140 H 144.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#217728
RGBrgb(33, 119, 40)
HSLhsl(125, 57%, 30%)
HSVhsv(125, 72%, 47%)
CMYKcmyk(72.3%, 0%, 66.4%, 53.3%)
CIE-LABlab(43.76, -42.10, 35.21)
CIE-LCHlch(43.76, 54.88, 140.09°)
OKLaboklab(50.12% -0.1139 0.082)
OKLCHoklch(50.12% 0.14 144.3)
XYZxyz(7.6065, 13.6694, 4.2446)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217728 #772170
analogous
#457721 #217728 #217753
triadic
#217728 #282177 #772821
tetradic
#217728 #214577 #772170 #775321
square
#217728 #214577 #772170 #775321
split-complementary
#217728 #532177 #772145
monochromatic
#071808 #144718 #217728 #2EA738 #47CC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##217728#FFFFFF#000000##FFFFFF
##2177281.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)
#796C1F
Deuteranopia (green-blind)
#6F652F
Tritanopia (blue-blind)
#047466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #217728;
/* rgb */ color: rgb(33, 119, 40);
/* oklch */ color: oklch(50.1% 0.140 144.3);
Tailwind
colors: {
  custom: {
    50: '#6a9f65',
    500: '#217728',
    950: '#000000',
  },
}
SCSS
$custom: #217728;
$custom-light: #6a9f65;
$custom-dark: #000000;
JSON
{
  "hex": "#217728",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 124.884,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50118,
    "c": 0.14036,
    "h": 144.3
  },
  "luminance": 0.1367
}

Semantic roles & 50–950 ramp

primary
#217728
secondary
#AA4AA2
accent
#48D3E0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #217728

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

Preview Lab → · Contrast checker → · Palette generator →

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