#21722E#21722E

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

Color values

HEX#21722E
RGBrgb(33, 114, 46)
HSLhsl(130, 55%, 29%)
HSVhsv(130, 71%, 45%)
CMYKcmyk(71.1%, 0%, 59.6%, 55.3%)
CIE-LABlab(42.08, -39.42, 30.33)
CIE-LCHlch(42.08, 49.74, 142.42°)
OKLaboklab(48.76% -0.1064 0.0721)
OKLCHoklch(48.76% 0.129 145.9)
XYZxyz(7.1372, 12.5545, 4.6314)
Luminance0.1255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21722E #722165
analogous
#3D7221 #21722E #217257
triadic
#21722E #2E2172 #722E21
tetradic
#21722E #213D72 #722165 #725721
square
#21722E #213D72 #722165 #725721
split-complementary
#21722E #572172 #72213D
monochromatic
#07180A #13431B #21722E #2FA141 #44C95A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21722E#FFFFFF#000000##FFFFFF
##21722E1.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)
#746727
Deuteranopia (green-blind)
#6A6133
Tritanopia (blue-blind)
#046F63
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #21722e;
/* rgb */ color: rgb(33, 114, 46);
/* oklch */ color: oklch(48.8% 0.129 145.9);
Tailwind
colors: {
  custom: {
    50: '#689b69',
    500: '#21722e',
    950: '#000000',
  },
}
SCSS
$custom: #21722e;
$custom-light: #689b69;
$custom-dark: #000000;
JSON
{
  "hex": "#21722e",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 46
  },
  "hsl": {
    "h": 129.63,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.48756,
    "c": 0.12853,
    "h": 145.9
  },
  "luminance": 0.12555
}

Semantic roles & 50–950 ramp

primary
#21722E
secondary
#A54997
accent
#49C7DE
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #21722E

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

Preview Lab → · Contrast checker → · Palette generator →

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