#21917B#21917B

#21917B is a mid, moderate teal. Relative luminance 0.220; OKLCH L 59.1% C 0.102 H 175.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#21917B
RGBrgb(33, 145, 123)
HSLhsl(168, 63%, 35%)
HSVhsv(168, 77%, 57%)
CMYKcmyk(77.2%, 0%, 15.2%, 43.1%)
CIE-LABlab(54.03, -35.76, 2.98)
CIE-LCHlch(54.03, 35.88, 175.24°)
OKLaboklab(59.09% -0.1017 0.0073)
OKLCHoklch(59.09% 0.102 175.9)
XYZxyz(14.3259, 22.0025, 22.2269)
Luminance0.2200 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21917B #912137
analogous
#219143 #21917B #216F91
triadic
#21917B #7B2191 #917B21
tetradic
#21917B #432191 #912137 #6F9121
square
#21917B #432191 #912137 #6F9121
split-complementary
#21917B #91216F #914321
monochromatic
#0A2D26 #165F51 #21917B #2CC3A5 #54D8BE

Accessibility & contrast

On white

3.89
#21917B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#21917B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21917B
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21917B#FFFFFF#000000##000000
##21917B1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B877A
Deuteranopia (green-blind)
#7D7D7D
Tritanopia (blue-blind)
#00938A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #21917b;
/* rgb */ color: rgb(33, 145, 123);
/* oklch */ color: oklch(59.1% 0.102 175.9);
Tailwind
colors: {
  custom: {
    50: '#70b2a1',
    500: '#21917b',
    950: '#000000',
  },
}
SCSS
$custom: #21917b;
$custom-light: #70b2a1;
$custom-dark: #000000;
JSON
{
  "hex": "#21917b",
  "rgb": {
    "r": 33,
    "g": 145,
    "b": 123
  },
  "hsl": {
    "h": 168.214,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59087,
    "c": 0.10199,
    "h": 175.9
  },
  "luminance": 0.22004
}

Semantic roles & 50–950 ramp

primary
#21917B
secondary
#BC5267
accent
#4262E6
background
#F7FBF9
surface
#EDF6F2
border
#C8D0CC
text
#09110E
muted
#7B807E

Preview Lab

Preview with #21917B

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

Preview Lab → · Contrast checker → · Palette generator →

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