#21796A#21796A

#21796A is a mid, moderate teal. Relative luminance 0.150; OKLCH L 52.1% C 0.085 H 178.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#21796A
RGBrgb(33, 121, 106)
HSLhsl(170, 57%, 30%)
HSVhsv(170, 73%, 47%)
CMYKcmyk(72.7%, 0%, 12.4%, 52.5%)
CIE-LABlab(45.69, -29.33, 0.80)
CIE-LCHlch(45.69, 29.35, 178.43°)
OKLaboklab(52.12% -0.0845 0.0017)
OKLCHoklch(52.12% 0.085 178.9)
XYZxyz(10.0648, 15.0375, 16.0050)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21796A #792130
analogous
#21793E #21796A #215C79
triadic
#21796A #6A2179 #796A21
tetradic
#21796A #3E2179 #792130 #5C7921
square
#21796A #3E2179 #792130 #5C7921
split-complementary
#21796A #79215C #793E21
monochromatic
#071916 #144940 #21796A #2EA994 #47CDB6

Accessibility & contrast

On white

5.24
#21796A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21796A
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21796A#FFFFFF#000000##FFFFFF
##21796A1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#747169
Deuteranopia (green-blind)
#68686B
Tritanopia (blue-blind)
#007B74
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #21796a;
/* rgb */ color: rgb(33, 121, 106);
/* oklch */ color: oklch(52.1% 0.085 178.9);
Tailwind
colors: {
  custom: {
    50: '#6aa094',
    500: '#21796a',
    950: '#000000',
  },
}
SCSS
$custom: #21796a;
$custom-light: #6aa094;
$custom-dark: #000000;
JSON
{
  "hex": "#21796a",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 106
  },
  "hsl": {
    "h": 169.773,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52116,
    "c": 0.08452,
    "h": 178.9
  },
  "luminance": 0.15039
}

Semantic roles & 50–950 ramp

primary
#21796A
secondary
#AC4A5A
accent
#4761E0
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #21796A

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

Preview Lab → · Contrast checker → · Palette generator →

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