#21722D#21722D

#21722D is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.7% C 0.129 H 145.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#21722D
RGBrgb(33, 114, 45)
HSLhsl(129, 55%, 29%)
HSVhsv(129, 71%, 45%)
CMYKcmyk(71.1%, 0%, 60.5%, 55.3%)
CIE-LABlab(42.07, -39.56, 30.83)
CIE-LCHlch(42.07, 50.15, 142.07°)
OKLaboklab(48.74% -0.1068 0.0731)
OKLCHoklch(48.74% 0.129 145.6)
XYZxyz(7.1177, 12.5467, 4.5288)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21722D #722166
analogous
#3E7221 #21722D #217256
triadic
#21722D #2D2172 #722D21
tetradic
#21722D #213E72 #722166 #725621
square
#21722D #213E72 #722166 #725621
split-complementary
#21722D #562172 #72213E
monochromatic
#071809 #13431A #21722D #2FA140 #44C958

Accessibility & contrast

On white

5.98
#21722D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#21722D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21722D
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21722D#FFFFFF#000000##FFFFFF
##21722D1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746726
Deuteranopia (green-blind)
#6A6132
Tritanopia (blue-blind)
#056F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #21722d;
/* rgb */ color: rgb(33, 114, 45);
/* oklch */ color: oklch(48.7% 0.129 145.6);
Tailwind
colors: {
  custom: {
    50: '#689b68',
    500: '#21722d',
    950: '#000000',
  },
}
SCSS
$custom: #21722d;
$custom-light: #689b68;
$custom-dark: #000000;
JSON
{
  "hex": "#21722d",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 45
  },
  "hsl": {
    "h": 128.889,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48742,
    "c": 0.12943,
    "h": 145.6
  },
  "luminance": 0.12547
}

Semantic roles & 50–950 ramp

primary
#21722D
secondary
#A54998
accent
#49C8DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21722D

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

Preview Lab → · Contrast checker → · Palette generator →

#21722D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva