#21837C#21837C

#21837C is a mid, moderate teal. Relative luminance 0.180; OKLCH L 55.4% C 0.087 H 187.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#21837C
RGBrgb(33, 131, 124)
HSLhsl(176, 60%, 32%)
HSVhsv(176, 75%, 51%)
CMYKcmyk(74.8%, 0%, 5.3%, 48.6%)
CIE-LABlab(49.51, -28.91, -4.22)
CIE-LCHlch(49.51, 29.21, 188.30°)
OKLaboklab(55.41% -0.0865 -0.0119)
OKLCHoklch(55.41% 0.087 187.8)
XYZxyz(12.3799, 18.0097, 21.8886)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21837C #832128
analogous
#21834B #21837C #215983
triadic
#21837C #7C2183 #837C21
tetradic
#21837C #4B2183 #832128 #598321
square
#21837C #4B2183 #832128 #598321
split-complementary
#21837C #832159 #834B21
monochromatic
#08211F #15524E #21837C #2DB4AA #4CD2C8

Accessibility & contrast

On white

4.56
#21837C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#21837C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21837C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21837C#FFFFFF#000000##000000
##21837C1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7C7C
Deuteranopia (green-blind)
#6E717D
Tritanopia (blue-blind)
#008681
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #21837c;
/* rgb */ color: rgb(33, 131, 124);
/* oklch */ color: oklch(55.4% 0.087 187.8);
Tailwind
colors: {
  custom: {
    50: '#6da7a1',
    500: '#21837c',
    950: '#000000',
  },
}
SCSS
$custom: #21837c;
$custom-light: #6da7a1;
$custom-dark: #000000;
JSON
{
  "hex": "#21837c",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 124
  },
  "hsl": {
    "h": 175.714,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55407,
    "c": 0.0873,
    "h": 187.8
  },
  "luminance": 0.18011
}

Semantic roles & 50–950 ramp

primary
#21837C
secondary
#B54B52
accent
#4550E3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0F
muted
#7B7F7E

Preview Lab

Preview with #21837C

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

Preview Lab → · Contrast checker → · Palette generator →

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