#21877A#21877A

#21877A is a mid, moderate teal. Relative luminance 0.191; OKLCH L 56.4% C 0.092 H 182.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#21877A
RGBrgb(33, 135, 122)
HSLhsl(172, 61%, 33%)
HSVhsv(172, 76%, 53%)
CMYKcmyk(75.6%, 0%, 9.6%, 47.1%)
CIE-LABlab(50.75, -31.42, -1.22)
CIE-LCHlch(50.75, 31.44, 182.22°)
OKLaboklab(56.4% -0.0917 -0.0038)
OKLCHoklch(56.4% 0.092 182.4)
XYZxyz(12.8023, 19.0549, 21.4118)
Luminance0.1906 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21877A #87212E
analogous
#218747 #21877A #216187
triadic
#21877A #7A2187 #877A21
tetradic
#21877A #472187 #87212E #618721
square
#21877A #472187 #87212E #618721
split-complementary
#21877A #872161 #874721
monochromatic
#092521 #15564E #21877A #2DB8A6 #4FD4C3

Accessibility & contrast

On white

4.36
#21877A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#21877A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21877A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21877A#FFFFFF#000000##000000
##21877A1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#807F7A
Deuteranopia (green-blind)
#72757B
Tritanopia (blue-blind)
#008A83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #21877a;
/* rgb */ color: rgb(33, 135, 122);
/* oklch */ color: oklch(56.4% 0.092 182.4);
Tailwind
colors: {
  custom: {
    50: '#6eaaa0',
    500: '#21877a',
    950: '#000000',
  },
}
SCSS
$custom: #21877a;
$custom-light: #6eaaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#21877a",
  "rgb": {
    "r": 33,
    "g": 135,
    "b": 122
  },
  "hsl": {
    "h": 172.353,
    "s": 60.714,
    "l": 32.941
  },
  "oklch": {
    "l": 0.564,
    "c": 0.09179,
    "h": 182.4
  },
  "luminance": 0.19056
}

Semantic roles & 50–950 ramp

primary
#21877A
secondary
#B74D5A
accent
#4458E4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #21877A

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

Preview Lab → · Contrast checker → · Palette generator →

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