#21722C#21722C

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

Color values

HEX#21722C
RGBrgb(33, 114, 44)
HSLhsl(128, 55%, 29%)
HSVhsv(128, 71%, 45%)
CMYKcmyk(71.1%, 0%, 61.4%, 55.3%)
CIE-LABlab(42.06, -39.70, 31.32)
CIE-LCHlch(42.06, 50.57, 141.72°)
OKLaboklab(48.73% -0.1073 0.074)
OKLCHoklch(48.73% 0.13 145.4)
XYZxyz(7.0987, 12.5391, 4.4286)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21722C #722167
analogous
#3F7221 #21722C #217255
triadic
#21722C #2C2172 #722C21
tetradic
#21722C #213F72 #722167 #725521
square
#21722C #213F72 #722167 #725521
split-complementary
#21722C #552172 #72213F
monochromatic
#071809 #13431A #21722C #2FA13E #44C956

Accessibility & contrast

On white

5.99
#21722C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21722C
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21722C#FFFFFF#000000##FFFFFF
##21722C1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21722c;
/* rgb */ color: rgb(33, 114, 44);
/* oklch */ color: oklch(48.7% 0.130 145.4);
Tailwind
colors: {
  custom: {
    50: '#689b67',
    500: '#21722c',
    950: '#000000',
  },
}
SCSS
$custom: #21722c;
$custom-light: #689b67;
$custom-dark: #000000;
JSON
{
  "hex": "#21722c",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 44
  },
  "hsl": {
    "h": 128.148,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48729,
    "c": 0.13033,
    "h": 145.4
  },
  "luminance": 0.1254
}

Semantic roles & 50–950 ramp

primary
#21722C
secondary
#A54999
accent
#49CADE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21722C

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

Preview Lab → · Contrast checker → · Palette generator →

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