#21817A#21817A

#21817A is a mid, moderate teal. Relative luminance 0.174; OKLCH L 54.8% C 0.086 H 187.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#21817A
RGBrgb(33, 129, 122)
HSLhsl(176, 59%, 32%)
HSVhsv(176, 74%, 51%)
CMYKcmyk(74.4%, 0%, 5.4%, 49.4%)
CIE-LABlab(48.79, -28.53, -4.10)
CIE-LCHlch(48.79, 28.82, 188.17°)
OKLaboklab(54.81% -0.0853 -0.0115)
OKLCHoklch(54.81% 0.086 187.7)
XYZxyz(11.9887, 17.4276, 21.1406)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21817A #812128
analogous
#21814A #21817A #215881
triadic
#21817A #7A2181 #817A21
tetradic
#21817A #4A2181 #812128 #588121
square
#21817A #4A2181 #812128 #588121
split-complementary
#21817A #812158 #814A21
monochromatic
#08201E #15504C #21817A #2DB2A8 #4BD1C7

Accessibility & contrast

On white

4.68
#21817A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#21817A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21817A
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21817A#FFFFFF#000000##FFFFFF
##21817A1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7A7A
Deuteranopia (green-blind)
#6C707B
Tritanopia (blue-blind)
#00847F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21817a;
/* rgb */ color: rgb(33, 129, 122);
/* oklch */ color: oklch(54.8% 0.086 187.7);
Tailwind
colors: {
  custom: {
    50: '#6da6a0',
    500: '#21817a',
    950: '#000000',
  },
}
SCSS
$custom: #21817a;
$custom-light: #6da6a0;
$custom-dark: #000000;
JSON
{
  "hex": "#21817a",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 122
  },
  "hsl": {
    "h": 175.625,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54806,
    "c": 0.0861,
    "h": 187.7
  },
  "luminance": 0.17429
}

Semantic roles & 50–950 ramp

primary
#21817A
secondary
#B44A52
accent
#4551E2
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #21817A

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

Preview Lab → · Contrast checker → · Palette generator →

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