#21786D#21786D

#21786D is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.9% C 0.082 H 182.8°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#21786D
RGBrgb(33, 120, 109)
HSLhsl(172, 57%, 30%)
HSVhsv(172, 73%, 47%)
CMYKcmyk(72.5%, 0%, 9.2%, 52.9%)
CIE-LABlab(45.44, -27.98, -1.34)
CIE-LCHlch(45.44, 28.01, 182.74°)
OKLaboklab(51.94% -0.0819 -0.0041)
OKLCHoklch(51.94% 0.082 182.8)
XYZxyz(10.1027, 14.8592, 16.8007)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21786D #78212C
analogous
#217842 #21786D #215778
triadic
#21786D #6D2178 #786D21
tetradic
#21786D #422178 #78212C #577821
square
#21786D #422178 #78212C #577821
split-complementary
#21786D #782157 #784221
monochromatic
#071816 #144841 #21786D #2EA899 #47CCBC

Accessibility & contrast

On white

5.29
#21786D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#21786D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21786D
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21786D#FFFFFF#000000##FFFFFF
##21786D1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72716D
Deuteranopia (green-blind)
#66686E
Tritanopia (blue-blind)
#007A75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #21786d;
/* rgb */ color: rgb(33, 120, 109);
/* oklch */ color: oklch(51.9% 0.082 182.8);
Tailwind
colors: {
  custom: {
    50: '#6a9f96',
    500: '#21786d',
    950: '#000000',
  },
}
SCSS
$custom: #21786d;
$custom-light: #6a9f96;
$custom-dark: #000000;
JSON
{
  "hex": "#21786d",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 109
  },
  "hsl": {
    "h": 172.414,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.51945,
    "c": 0.082,
    "h": 182.8
  },
  "luminance": 0.1486
}

Semantic roles & 50–950 ramp

primary
#21786D
secondary
#AB4A56
accent
#485BE0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #21786D

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

Preview Lab → · Contrast checker → · Palette generator →

#21786D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva