#21722A#21722A

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

Color values

HEX#21722A
RGBrgb(33, 114, 42)
HSLhsl(127, 55%, 29%)
HSVhsv(127, 71%, 45%)
CMYKcmyk(71.1%, 0%, 63.2%, 55.3%)
CIE-LABlab(42.04, -39.96, 32.30)
CIE-LCHlch(42.04, 51.38, 141.05°)
OKLaboklab(48.7% -0.1081 0.076)
OKLCHoklch(48.7% 0.132 144.9)
XYZxyz(7.0620, 12.5244, 4.2353)
Luminance0.1253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21722A #722169
analogous
#417221 #21722A #217253
triadic
#21722A #2A2172 #722A21
tetradic
#21722A #214172 #722169 #725321
square
#21722A #214172 #722169 #725321
split-complementary
#21722A #532172 #722141
monochromatic
#071809 #134319 #21722A #2FA13B #44C953

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21722A#FFFFFF#000000##FFFFFF
##21722A1.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)
#746722
Deuteranopia (green-blind)
#6A6130
Tritanopia (blue-blind)
#076F62
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #21722a;
/* rgb */ color: rgb(33, 114, 42);
/* oklch */ color: oklch(48.7% 0.132 144.9);
Tailwind
colors: {
  custom: {
    50: '#689b66',
    500: '#21722a',
    950: '#000000',
  },
}
SCSS
$custom: #21722a;
$custom-light: #689b66;
$custom-dark: #000000;
JSON
{
  "hex": "#21722a",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 42
  },
  "hsl": {
    "h": 126.667,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48703,
    "c": 0.13209,
    "h": 144.9
  },
  "luminance": 0.12525
}

Semantic roles & 50–950 ramp

primary
#21722A
secondary
#A5499B
accent
#49CEDE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21722A

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

Preview Lab → · Contrast checker → · Palette generator →

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