#217726#217726

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

Color values

HEX#217726
RGBrgb(33, 119, 38)
HSLhsl(123, 57%, 30%)
HSVhsv(123, 72%, 47%)
CMYKcmyk(72.3%, 0%, 68.1%, 53.3%)
CIE-LABlab(43.74, -42.32, 36.12)
CIE-LCHlch(43.74, 55.64, 139.52°)
OKLaboklab(50.1% -0.1147 0.0837)
OKLCHoklch(50.1% 0.142 143.9)
XYZxyz(7.5734, 13.6561, 4.0701)
Luminance0.1366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#217726 #772172
analogous
#477721 #217726 #217751
triadic
#217726 #262177 #772621
tetradic
#217726 #214777 #772172 #775121
square
#217726 #214777 #772172 #775121
split-complementary
#217726 #512177 #772147
monochromatic
#071808 #144717 #217726 #2EA735 #47CC4E

Accessibility & contrast

On white

5.63
#217726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #217726
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##217726#FFFFFF#000000##FFFFFF
##2177261.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C1C
Deuteranopia (green-blind)
#6F652D
Tritanopia (blue-blind)
#057466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #217726;
/* rgb */ color: rgb(33, 119, 38);
/* oklch */ color: oklch(50.1% 0.142 143.9);
Tailwind
colors: {
  custom: {
    50: '#6a9f64',
    500: '#217726',
    950: '#000000',
  },
}
SCSS
$custom: #217726;
$custom-light: #6a9f64;
$custom-dark: #000000;
JSON
{
  "hex": "#217726",
  "rgb": {
    "r": 33,
    "g": 119,
    "b": 38
  },
  "hsl": {
    "h": 123.488,
    "s": 56.579,
    "l": 29.804
  },
  "oklch": {
    "l": 0.50096,
    "c": 0.14195,
    "h": 143.9
  },
  "luminance": 0.13657
}

Semantic roles & 50–950 ramp

primary
#217726
secondary
#AA4AA5
accent
#48D7E0
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070F06
muted
#7A7E7A

Preview Lab

Preview with #217726

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

Preview Lab → · Contrast checker → · Palette generator →

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