#21796E#21796E

#21796E is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.2% C 0.083 H 182.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#21796E
RGBrgb(33, 121, 110)
HSLhsl(173, 57%, 30%)
HSVhsv(173, 73%, 47%)
CMYKcmyk(72.7%, 0%, 9.1%, 52.5%)
CIE-LABlab(45.80, -28.18, -1.41)
CIE-LCHlch(45.80, 28.21, 182.85°)
OKLaboklab(52.25% -0.0825 -0.0042)
OKLCHoklch(52.25% 0.083 182.9)
XYZxyz(10.2777, 15.1227, 17.1261)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21796E #79212C
analogous
#217942 #21796E #215879
triadic
#21796E #6E2179 #796E21
tetradic
#21796E #422179 #79212C #587921
square
#21796E #422179 #79212C #587921
split-complementary
#21796E #792158 #794221
monochromatic
#071917 #144942 #21796E #2EA99A #47CDBC

Accessibility & contrast

On white

5.22
#21796E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#21796E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21796E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21796E#FFFFFF#000000##FFFFFF
##21796E1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73726E
Deuteranopia (green-blind)
#67696F
Tritanopia (blue-blind)
#007B76
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #21796e;
/* rgb */ color: rgb(33, 121, 110);
/* oklch */ color: oklch(52.2% 0.083 182.9);
Tailwind
colors: {
  custom: {
    50: '#6aa097',
    500: '#21796e',
    950: '#000000',
  },
}
SCSS
$custom: #21796e;
$custom-light: #6aa097;
$custom-dark: #000000;
JSON
{
  "hex": "#21796e",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 110
  },
  "hsl": {
    "h": 172.5,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52249,
    "c": 0.08262,
    "h": 182.9
  },
  "luminance": 0.15124
}

Semantic roles & 50–950 ramp

primary
#21796E
secondary
#AC4A56
accent
#475BE0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #21796E

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

Preview Lab → · Contrast checker → · Palette generator →

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