#21817F#21817F

#21817F is a mid, moderate teal. Relative luminance 0.176; OKLCH L 55.0% C 0.085 H 192.9°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#21817F
RGBrgb(33, 129, 127)
HSLhsl(179, 59%, 32%)
HSVhsv(179, 74%, 51%)
CMYKcmyk(74.4%, 0%, 1.6%, 49.4%)
CIE-LABlab(48.95, -27.01, -6.80)
CIE-LCHlch(48.95, 27.86, 194.14°)
OKLaboklab(54.99% -0.0829 -0.019)
OKLCHoklch(54.99% 0.085 192.9)
XYZxyz(12.3065, 17.5547, 22.8144)
Luminance0.1756 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21817F #812123
analogous
#21814F #21817F #215381
triadic
#21817F #7F2181 #817F21
tetradic
#21817F #4F2181 #812123 #538121
square
#21817F #4F2181 #812123 #538121
split-complementary
#21817F #812153 #814F21
monochromatic
#08201F #15504F #21817F #2DB2AF #4BD1CE

Accessibility & contrast

On white

4.66
#21817F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#21817F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #21817F
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21817F#FFFFFF#000000##FFFFFF
##21817F1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797A7F
Deuteranopia (green-blind)
#6B7080
Tritanopia (blue-blind)
#008580
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21817f;
/* rgb */ color: rgb(33, 129, 127);
/* oklch */ color: oklch(55.0% 0.085 192.9);
Tailwind
colors: {
  custom: {
    50: '#6da6a4',
    500: '#21817f',
    950: '#000000',
  },
}
SCSS
$custom: #21817f;
$custom-light: #6da6a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21817f",
  "rgb": {
    "r": 33,
    "g": 129,
    "b": 127
  },
  "hsl": {
    "h": 178.75,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.54986,
    "c": 0.08506,
    "h": 192.9
  },
  "luminance": 0.17556
}

Semantic roles & 50–950 ramp

primary
#21817F
secondary
#B44A4C
accent
#4549E2
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #21817F

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

Preview Lab → · Contrast checker → · Palette generator →

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