#21796B#21796B

#21796B is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.1% C 0.084 H 179.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#21796B
RGBrgb(33, 121, 107)
HSLhsl(170, 57%, 30%)
HSVhsv(170, 73%, 47%)
CMYKcmyk(72.7%, 0%, 11.6%, 52.5%)
CIE-LABlab(45.71, -29.05, 0.25)
CIE-LCHlch(45.71, 29.05, 179.51°)
OKLaboklab(52.15% -0.084 0.0002)
OKLCHoklch(52.15% 0.084 179.9)
XYZxyz(10.1171, 15.0584, 16.2804)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21796B #79212F
analogous
#21793F #21796B #215B79
triadic
#21796B #6B2179 #796B21
tetradic
#21796B #3F2179 #79212F #5B7921
square
#21796B #3F2179 #79212F #5B7921
split-complementary
#21796B #79215B #793F21
monochromatic
#071916 #144940 #21796B #2EA996 #47CDB8

Accessibility & contrast

On white

5.23
#21796B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#21796B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21796B
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21796B#FFFFFF#000000##FFFFFF
##21796B1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74716A
Deuteranopia (green-blind)
#67686C
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #21796b;
/* rgb */ color: rgb(33, 121, 107);
/* oklch */ color: oklch(52.1% 0.084 179.9);
Tailwind
colors: {
  custom: {
    50: '#6aa095',
    500: '#21796b',
    950: '#000000',
  },
}
SCSS
$custom: #21796b;
$custom-light: #6aa095;
$custom-dark: #000000;
JSON
{
  "hex": "#21796b",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 107
  },
  "hsl": {
    "h": 170.455,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52149,
    "c": 0.084,
    "h": 179.9
  },
  "luminance": 0.1506
}

Semantic roles & 50–950 ramp

primary
#21796B
secondary
#AC4A59
accent
#4760E0
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #21796B

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

Preview Lab → · Contrast checker → · Palette generator →

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