#21724C#21724C

#21724C is a mid, moderate teal. Relative luminance 0.129; OKLCH L 49.3% C 0.099 H 158.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#21724C
RGBrgb(33, 114, 76)
HSLhsl(152, 55%, 29%)
HSVhsv(152, 71%, 45%)
CMYKcmyk(71.1%, 0%, 33.3%, 55.3%)
CIE-LABlab(42.58, -33.85, 14.19)
CIE-LCHlch(42.58, 36.71, 157.25°)
OKLaboklab(49.33% -0.0921 0.0359)
OKLCHoklch(49.33% 0.099 158.7)
XYZxyz(7.9483, 12.8789, 8.9031)
Luminance0.1288 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21724C #722147
analogous
#217224 #21724C #217072
triadic
#21724C #4C2172 #724C21
tetradic
#21724C #242172 #722147 #707221
square
#21724C #242172 #722147 #707221
split-complementary
#21724C #722170 #722421
monochromatic
#071810 #13432C #21724C #2FA16C #44C98B

Accessibility & contrast

On white

5.87
#21724C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#21724C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21724C
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21724C#FFFFFF#000000##FFFFFF
##21724C1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#71694A
Deuteranopia (green-blind)
#66624E
Tritanopia (blue-blind)
#007168
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #21724c;
/* rgb */ color: rgb(33, 114, 76);
/* oklch */ color: oklch(49.3% 0.099 158.7);
Tailwind
colors: {
  custom: {
    50: '#689b7e',
    500: '#21724c',
    950: '#000000',
  },
}
SCSS
$custom: #21724c;
$custom-light: #689b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#21724c",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 76
  },
  "hsl": {
    "h": 151.852,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49327,
    "c": 0.09884,
    "h": 158.7
  },
  "luminance": 0.1288
}

Semantic roles & 50–950 ramp

primary
#21724C
secondary
#A54975
accent
#498FDE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #21724C

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

Preview Lab → · Contrast checker → · Palette generator →

#21724C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva