#21722F#21722F

#21722F is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.8% C 0.128 H 146.2°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#21722F
RGBrgb(33, 114, 47)
HSLhsl(130, 55%, 29%)
HSVhsv(130, 71%, 45%)
CMYKcmyk(71.1%, 0%, 58.8%, 55.3%)
CIE-LABlab(42.10, -39.28, 29.83)
CIE-LCHlch(42.10, 49.32, 142.79°)
OKLaboklab(48.77% -0.106 0.071)
OKLCHoklch(48.77% 0.128 146.2)
XYZxyz(7.1571, 12.5624, 4.7364)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21722F #722164
analogous
#3C7221 #21722F #217258
triadic
#21722F #2F2172 #722F21
tetradic
#21722F #213C72 #722164 #725821
square
#21722F #213C72 #722164 #725821
split-complementary
#21722F #582172 #72213C
monochromatic
#07180A #13431B #21722F #2FA143 #44C95B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21722F#FFFFFF#000000##FFFFFF
##21722F1.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)
#746729
Deuteranopia (green-blind)
#6A6134
Tritanopia (blue-blind)
#046F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #21722f;
/* rgb */ color: rgb(33, 114, 47);
/* oklch */ color: oklch(48.8% 0.128 146.2);
Tailwind
colors: {
  custom: {
    50: '#689b69',
    500: '#21722f',
    950: '#000000',
  },
}
SCSS
$custom: #21722f;
$custom-light: #689b69;
$custom-dark: #000000;
JSON
{
  "hex": "#21722f",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 47
  },
  "hsl": {
    "h": 130.37,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.4877,
    "c": 0.12761,
    "h": 146.2
  },
  "luminance": 0.12563
}

Semantic roles & 50–950 ramp

primary
#21722F
secondary
#A54996
accent
#49C5DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21722F

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

Preview Lab → · Contrast checker → · Palette generator →

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