#21786A#21786A

#21786A is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.8% C 0.083 H 179.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#21786A
RGBrgb(33, 120, 106)
HSLhsl(170, 57%, 30%)
HSVhsv(170, 73%, 47%)
CMYKcmyk(72.5%, 0%, 11.7%, 52.9%)
CIE-LABlab(45.35, -28.85, 0.32)
CIE-LCHlch(45.35, 28.85, 179.37°)
OKLaboklab(51.85% -0.0834 0.0004)
OKLCHoklch(51.85% 0.083 179.7)
XYZxyz(9.9439, 14.7957, 15.9647)
Luminance0.1480 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21786A #78212F
analogous
#21783F #21786A #215A78
triadic
#21786A #6A2178 #786A21
tetradic
#21786A #3F2178 #78212F #5A7821
square
#21786A #3F2178 #78212F #5A7821
split-complementary
#21786A #78215A #783F21
monochromatic
#071815 #144840 #21786A #2EA894 #47CCB7

Accessibility & contrast

On white

5.30
#21786A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#21786A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21786A
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21786A#FFFFFF#000000##FFFFFF
##21786A1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#737169
Deuteranopia (green-blind)
#67686B
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #21786a;
/* rgb */ color: rgb(33, 120, 106);
/* oklch */ color: oklch(51.8% 0.083 179.7);
Tailwind
colors: {
  custom: {
    50: '#6a9f94',
    500: '#21786a',
    950: '#000000',
  },
}
SCSS
$custom: #21786a;
$custom-light: #6a9f94;
$custom-dark: #000000;
JSON
{
  "hex": "#21786a",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 106
  },
  "hsl": {
    "h": 170.345,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.51845,
    "c": 0.0834,
    "h": 179.7
  },
  "luminance": 0.14797
}

Semantic roles & 50–950 ramp

primary
#21786A
secondary
#AB4A59
accent
#4860E0
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #21786A

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

Preview Lab → · Contrast checker → · Palette generator →

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