#21722B#21722B

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

Color values

HEX#21722B
RGBrgb(33, 114, 43)
HSLhsl(127, 55%, 29%)
HSVhsv(127, 71%, 45%)
CMYKcmyk(71.1%, 0%, 62.3%, 55.3%)
CIE-LABlab(42.05, -39.83, 31.81)
CIE-LCHlch(42.05, 50.98, 141.38°)
OKLaboklab(48.72% -0.1077 0.075)
OKLCHoklch(48.72% 0.131 145.1)
XYZxyz(7.0801, 12.5316, 4.3308)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21722B #722168
analogous
#407221 #21722B #217254
triadic
#21722B #2B2172 #722B21
tetradic
#21722B #214072 #722168 #725421
square
#21722B #214072 #722168 #725421
split-complementary
#21722B #542172 #722140
monochromatic
#071809 #134319 #21722B #2FA13D #44C955

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21722B#FFFFFF#000000##FFFFFF
##21722B1.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)
#746724
Deuteranopia (green-blind)
#6A6131
Tritanopia (blue-blind)
#066F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #21722b;
/* rgb */ color: rgb(33, 114, 43);
/* oklch */ color: oklch(48.7% 0.131 145.1);
Tailwind
colors: {
  custom: {
    50: '#689b67',
    500: '#21722b',
    950: '#000000',
  },
}
SCSS
$custom: #21722b;
$custom-light: #689b67;
$custom-dark: #000000;
JSON
{
  "hex": "#21722b",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 43
  },
  "hsl": {
    "h": 127.407,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48716,
    "c": 0.13122,
    "h": 145.1
  },
  "luminance": 0.12532
}

Semantic roles & 50–950 ramp

primary
#21722B
secondary
#A5499A
accent
#49CCDE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21722B

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

Preview Lab → · Contrast checker → · Palette generator →

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