#21786B#21786B

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

Color values

HEX#21786B
RGBrgb(33, 120, 107)
HSLhsl(171, 57%, 30%)
HSVhsv(171, 73%, 47%)
CMYKcmyk(72.5%, 0%, 10.8%, 52.9%)
CIE-LABlab(45.38, -28.57, -0.23)
CIE-LCHlch(45.38, 28.57, 180.47°)
OKLaboklab(51.88% -0.0829 -0.0011)
OKLCHoklch(51.88% 0.083 180.8)
XYZxyz(9.9962, 14.8167, 16.2401)
Luminance0.1482 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21786B #78212E
analogous
#21783F #21786B #215A78
triadic
#21786B #6B2178 #786B21
tetradic
#21786B #3F2178 #78212E #5A7821
square
#21786B #3F2178 #78212E #5A7821
split-complementary
#21786B #78215A #783F21
monochromatic
#071815 #144840 #21786B #2EA896 #47CCB8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21786B#FFFFFF#000000##FFFFFF
##21786B1.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)
#73716B
Deuteranopia (green-blind)
#66686C
Tritanopia (blue-blind)
#007A74
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #21786b;
/* rgb */ color: rgb(33, 120, 107);
/* oklch */ color: oklch(51.9% 0.083 180.8);
Tailwind
colors: {
  custom: {
    50: '#6a9f95',
    500: '#21786b',
    950: '#000000',
  },
}
SCSS
$custom: #21786b;
$custom-light: #6a9f95;
$custom-dark: #000000;
JSON
{
  "hex": "#21786b",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 107
  },
  "hsl": {
    "h": 171.034,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.51878,
    "c": 0.08291,
    "h": 180.8
  },
  "luminance": 0.14818
}

Semantic roles & 50–950 ramp

primary
#21786B
secondary
#AB4A58
accent
#485EE0
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #21786B

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

Preview Lab → · Contrast checker → · Palette generator →

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