#21897F#21897F

#21897F is a mid, moderate teal. Relative luminance 0.197; OKLCH L 57.1% C 0.092 H 185.3°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#21897F
RGBrgb(33, 137, 127)
HSLhsl(174, 61%, 33%)
HSVhsv(174, 76%, 54%)
CMYKcmyk(75.9%, 0%, 7.3%, 46.3%)
CIE-LABlab(51.55, -30.91, -2.96)
CIE-LCHlch(51.55, 31.05, 185.47°)
OKLaboklab(57.1% -0.0914 -0.0085)
OKLCHoklch(57.1% 0.092 185.3)
XYZxyz(13.4018, 19.7453, 23.1795)
Luminance0.1975 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21897F #89212B
analogous
#21894B #21897F #215F89
triadic
#21897F #7F2189 #897F21
tetradic
#21897F #4B2189 #89212B #5F8921
square
#21897F #4B2189 #89212B #5F8921
split-complementary
#21897F #89215F #894B21
monochromatic
#092624 #155851 #21897F #2DBAAD #50D5C8

Accessibility & contrast

On white

4.24
#21897F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#21897F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21897F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21897F#FFFFFF#000000##000000
##21897F1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#82817F
Deuteranopia (green-blind)
#737680
Tritanopia (blue-blind)
#008C86
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #21897f;
/* rgb */ color: rgb(33, 137, 127);
/* oklch */ color: oklch(57.1% 0.092 185.3);
Tailwind
colors: {
  custom: {
    50: '#6faca4',
    500: '#21897f',
    950: '#000000',
  },
}
SCSS
$custom: #21897f;
$custom-light: #6faca4;
$custom-dark: #000000;
JSON
{
  "hex": "#21897f",
  "rgb": {
    "r": 33,
    "g": 137,
    "b": 127
  },
  "hsl": {
    "h": 174.231,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57098,
    "c": 0.09179,
    "h": 185.3
  },
  "luminance": 0.19747
}

Semantic roles & 50–950 ramp

primary
#21897F
secondary
#B84E58
accent
#4453E4
background
#F7FAFA
surface
#EDF4F3
border
#C8CECD
text
#08100F
muted
#7B7F7F

Preview Lab

Preview with #21897F

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

Preview Lab → · Contrast checker → · Palette generator →

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