#21766B#21766B

#21766B is a mid, moderate teal. Relative luminance 0.143; OKLCH L 51.3% C 0.081 H 182.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#21766B
RGBrgb(33, 118, 107)
HSLhsl(172, 56%, 30%)
HSVhsv(172, 72%, 46%)
CMYKcmyk(72%, 0%, 9.3%, 53.7%)
CIE-LABlab(44.72, -27.59, -1.21)
CIE-LCHlch(44.72, 27.62, 182.51°)
OKLaboklab(51.34% -0.0807 -0.0037)
OKLCHoklch(51.34% 0.081 182.6)
XYZxyz(9.7582, 14.3406, 16.1608)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21766B #76212C
analogous
#217641 #21766B #215776
triadic
#21766B #6B2176 #766B21
tetradic
#21766B #412176 #76212C #577621
square
#21766B #412176 #76212C #577621
split-complementary
#21766B #762157 #764121
monochromatic
#071816 #144640 #21766B #2EA696 #46CBBA

Accessibility & contrast

On white

5.43
#21766B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#21766B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21766B
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21766B#FFFFFF#000000##FFFFFF
##21766B1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706F6B
Deuteranopia (green-blind)
#64666C
Tritanopia (blue-blind)
#007873
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21766b;
/* rgb */ color: rgb(33, 118, 107);
/* oklch */ color: oklch(51.3% 0.081 182.6);
Tailwind
colors: {
  custom: {
    50: '#6a9e95',
    500: '#21766b',
    950: '#000000',
  },
}
SCSS
$custom: #21766b;
$custom-light: #6a9e95;
$custom-dark: #000000;
JSON
{
  "hex": "#21766b",
  "rgb": {
    "r": 33,
    "g": 118,
    "b": 107
  },
  "hsl": {
    "h": 172.235,
    "s": 56.291,
    "l": 29.608
  },
  "oklch": {
    "l": 0.51336,
    "c": 0.08076,
    "h": 182.6
  },
  "luminance": 0.14342
}

Semantic roles & 50–950 ramp

primary
#21766B
secondary
#A94A56
accent
#485CE0
background
#F6F9F9
surface
#ECF2F1
border
#C7CCCB
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #21766B

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

Preview Lab → · Contrast checker → · Palette generator →

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