#21897A#21897A

#21897A is a mid, moderate teal. Relative luminance 0.196; OKLCH L 56.9% C 0.094 H 180.8°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#21897A
RGBrgb(33, 137, 122)
HSLhsl(171, 61%, 33%)
HSVhsv(171, 76%, 54%)
CMYKcmyk(75.9%, 0%, 10.9%, 46.3%)
CIE-LABlab(51.40, -32.36, -0.26)
CIE-LCHlch(51.40, 32.36, 180.46°)
OKLaboklab(56.93% -0.0938 -0.0012)
OKLCHoklch(56.93% 0.094 180.8)
XYZxyz(13.0840, 19.6182, 21.5057)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21897A #892130
analogous
#218946 #21897A #216489
triadic
#21897A #7A2189 #897A21
tetradic
#21897A #462189 #892130 #648921
square
#21897A #462189 #892130 #648921
split-complementary
#21897A #892164 #894621
monochromatic
#092622 #15584E #21897A #2DBAA6 #50D5C2

Accessibility & contrast

On white

4.26
#21897A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#21897A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21897A
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21897A#FFFFFF#000000##000000
##21897A1.004.264.924.92
#FFFFFF4.261.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#838179
Deuteranopia (green-blind)
#75767B
Tritanopia (blue-blind)
#008C84
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #21897a;
/* rgb */ color: rgb(33, 137, 122);
/* oklch */ color: oklch(56.9% 0.094 180.8);
Tailwind
colors: {
  custom: {
    50: '#6eaca0',
    500: '#21897a',
    950: '#000000',
  },
}
SCSS
$custom: #21897a;
$custom-light: #6eaca0;
$custom-dark: #000000;
JSON
{
  "hex": "#21897a",
  "rgb": {
    "r": 33,
    "g": 137,
    "b": 122
  },
  "hsl": {
    "h": 171.346,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.56932,
    "c": 0.09384,
    "h": 180.8
  },
  "luminance": 0.1962
}

Semantic roles & 50–950 ramp

primary
#21897A
secondary
#B84E5D
accent
#445BE4
background
#F7FAF9
surface
#EDF4F2
border
#C8CECC
text
#08100E
muted
#7B7F7E

Preview Lab

Preview with #21897A

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

Preview Lab → · Contrast checker → · Palette generator →

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