#21726B#21726B

#21726B is a mid, moderate teal. Relative luminance 0.134; OKLCH L 50.3% C 0.077 H 186.7°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#21726B
RGBrgb(33, 114, 107)
HSLhsl(175, 55%, 29%)
HSVhsv(175, 71%, 45%)
CMYKcmyk(71.1%, 0%, 6.1%, 55.3%)
CIE-LABlab(43.39, -25.60, -3.16)
CIE-LCHlch(43.39, 25.80, 187.05°)
OKLaboklab(50.25% -0.0762 -0.009)
OKLCHoklch(50.25% 0.077 186.7)
XYZxyz(9.2971, 13.4184, 16.0071)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21726B #722128
analogous
#217243 #21726B #215172
triadic
#21726B #6B2172 #726B21
tetradic
#21726B #432172 #722128 #517221
square
#21726B #432172 #722128 #517221
split-complementary
#21726B #722151 #724321
monochromatic
#071816 #13433E #21726B #2FA198 #44C9BE

Accessibility & contrast

On white

5.70
#21726B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#21726B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21726B
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21726B#FFFFFF#000000##FFFFFF
##21726B1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6C6B
Deuteranopia (green-blind)
#60636C
Tritanopia (blue-blind)
#007570
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #21726b;
/* rgb */ color: rgb(33, 114, 107);
/* oklch */ color: oklch(50.3% 0.077 186.7);
Tailwind
colors: {
  custom: {
    50: '#699b95',
    500: '#21726b',
    950: '#000000',
  },
}
SCSS
$custom: #21726b;
$custom-light: #699b95;
$custom-dark: #000000;
JSON
{
  "hex": "#21726b",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 107
  },
  "hsl": {
    "h": 174.815,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.50254,
    "c": 0.07675,
    "h": 186.7
  },
  "luminance": 0.13419
}

Semantic roles & 50–950 ramp

primary
#21726B
secondary
#A54951
accent
#4956DE
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #21726B

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

Preview Lab → · Contrast checker → · Palette generator →

#21726B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva