#21721D#21721D

#21721D is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.142 H 142.4°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#21721D
RGBrgb(33, 114, 29)
HSLhsl(117, 59%, 28%)
HSVhsv(117, 75%, 45%)
CMYKcmyk(71.1%, 0%, 74.6%, 55.3%)
CIE-LABlab(41.92, -41.40, 38.12)
CIE-LCHlch(41.92, 56.28, 137.36°)
OKLaboklab(48.56% -0.1126 0.0867)
OKLCHoklch(48.56% 0.142 142.4)
XYZxyz(6.8659, 12.4459, 3.2026)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21721D #6E1D72
analogous
#4C721D #21721D #1D7243
triadic
#21721D #1D2172 #721D21
tetradic
#21721D #1D4C72 #6E1D72 #72431D
square
#21721D #1D4C72 #6E1D72 #72431D
split-complementary
#21721D #431D72 #721D4C
monochromatic
#071806 #134111 #21721D #2FA329 #43CD3C

Accessibility & contrast

On white

6.02
#21721D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#21721D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21721D
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21721D#FFFFFF#000000##FFFFFF
##21721D1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670F
Deuteranopia (green-blind)
#6B6026
Tritanopia (blue-blind)
#0D6E61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #21721d;
/* rgb */ color: rgb(33, 114, 29);
/* oklch */ color: oklch(48.6% 0.142 142.4);
Tailwind
colors: {
  custom: {
    50: '#699b5f',
    500: '#21721d',
    950: '#000000',
  },
}
SCSS
$custom: #21721d;
$custom-light: #699b5f;
$custom-dark: #000000;
JSON
{
  "hex": "#21721d",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 29
  },
  "hsl": {
    "h": 117.176,
    "s": 59.441,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48563,
    "c": 0.14216,
    "h": 142.4
  },
  "luminance": 0.12447
}

Semantic roles & 50–950 ramp

primary
#21721D
secondary
#A245A6
accent
#45E3DB
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #21721D

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

Preview Lab → · Contrast checker → · Palette generator →

#21721D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva