#21837A#21837A

#21837A is a mid, moderate teal. Relative luminance 0.180; OKLCH L 55.3% C 0.088 H 185.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#21837A
RGBrgb(33, 131, 122)
HSLhsl(174, 60%, 32%)
HSVhsv(174, 75%, 51%)
CMYKcmyk(74.8%, 0%, 6.9%, 48.6%)
CIE-LABlab(49.45, -29.50, -3.13)
CIE-LCHlch(49.45, 29.67, 186.06°)
OKLaboklab(55.34% -0.0875 -0.0089)
OKLCHoklch(55.34% 0.088 185.8)
XYZxyz(12.2547, 17.9596, 21.2293)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21837A #83212A
analogous
#218349 #21837A #215B83
triadic
#21837A #7A2183 #837A21
tetradic
#21837A #492183 #83212A #5B8321
square
#21837A #492183 #83212A #5B8321
split-complementary
#21837A #83215B #834921
monochromatic
#08211F #15524C #21837A #2DB4A8 #4CD2C6

Accessibility & contrast

On white

4.57
#21837A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#21837A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21837A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21837A#FFFFFF#000000##000000
##21837A1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C7B7A
Deuteranopia (green-blind)
#6E717B
Tritanopia (blue-blind)
#008680
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #21837a;
/* rgb */ color: rgb(33, 131, 122);
/* oklch */ color: oklch(55.3% 0.088 185.8);
Tailwind
colors: {
  custom: {
    50: '#6da7a0',
    500: '#21837a',
    950: '#000000',
  },
}
SCSS
$custom: #21837a;
$custom-light: #6da7a0;
$custom-dark: #000000;
JSON
{
  "hex": "#21837a",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 122
  },
  "hsl": {
    "h": 174.49,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55337,
    "c": 0.08792,
    "h": 185.8
  },
  "luminance": 0.17961
}

Semantic roles & 50–950 ramp

primary
#21837A
secondary
#B54B55
accent
#4553E3
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#080F0E
muted
#7B7F7E

Preview Lab

Preview with #21837A

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

Preview Lab → · Contrast checker → · Palette generator →

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