#21817C#21817C

#21817C is a mid, moderate teal. Relative luminance 0.175; OKLCH L 54.9% C 0.086 H 189.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#21817C
RGBrgb(33, 129, 124)
HSLhsl(177, 59%, 32%)
HSVhsv(177, 74%, 51%)
CMYKcmyk(74.4%, 0%, 3.9%, 49.4%)
CIE-LABlab(48.86, -27.93, -5.18)
CIE-LCHlch(48.86, 28.41, 190.51°)
OKLaboklab(54.88% -0.0843 -0.0145)
OKLCHoklch(54.88% 0.086 189.8)
XYZxyz(12.1138, 17.4776, 21.8000)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21817C #812126
analogous
#21814C #21817C #215681
triadic
#21817C #7C2181 #817C21
tetradic
#21817C #4C2181 #812126 #568121
square
#21817C #4C2181 #812126 #568121
split-complementary
#21817C #812156 #814C21
monochromatic
#08201E #15504D #21817C #2DB2AB #4BD1CA

Accessibility & contrast

On white

4.67
#21817C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#21817C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #21817C
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21817C#FFFFFF#000000##FFFFFF
##21817C1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797A7C
Deuteranopia (green-blind)
#6C707D
Tritanopia (blue-blind)
#00857F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21817c;
/* rgb */ color: rgb(33, 129, 124);
/* oklch */ color: oklch(54.9% 0.086 189.8);
Tailwind
colors: {
  custom: {
    50: '#6da6a1',
    500: '#21817c',
    950: '#000000',
  },
}
SCSS
$custom: #21817c;
$custom-light: #6da6a1;
$custom-dark: #000000;
JSON
{
  "hex": "#21817c",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 124
  },
  "hsl": {
    "h": 176.875,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54877,
    "c": 0.08559,
    "h": 189.8
  },
  "luminance": 0.17479
}

Semantic roles & 50–950 ramp

primary
#21817C
secondary
#B44A50
accent
#454EE2
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #21817C

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

Preview Lab → · Contrast checker → · Palette generator →

#21817C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva