#21998E#21998E

#21998E is a mid, moderate teal. Relative luminance 0.251; OKLCH L 61.8% C 0.101 H 185.5°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#21998E
RGBrgb(33, 153, 142)
HSLhsl(175, 65%, 36%)
HSVhsv(175, 78%, 60%)
CMYKcmyk(78.4%, 0%, 7.2%, 40%)
CIE-LABlab(57.13, -34.07, -3.37)
CIE-LCHlch(57.13, 34.23, 185.66°)
OKLaboklab(61.8% -0.1008 -0.0097)
OKLCHoklch(61.8% 0.101 185.5)
XYZxyz(16.8986, 25.0567, 29.5317)
Luminance0.2506 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21998E #99212C
analogous
#219952 #21998E #216899
triadic
#21998E #8E2199 #998E21
tetradic
#21998E #522199 #99212C #689921
square
#21998E #522199 #99212C #689921
split-complementary
#21998E #992168 #995221
monochromatic
#0B3431 #16675F #21998E #2CCBBD #59DBCF

Accessibility & contrast

On white

3.49
#21998E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#21998E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21998E
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21998E#FFFFFF#000000##000000
##21998E1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91908E
Deuteranopia (green-blind)
#81848F
Tritanopia (blue-blind)
#009D95
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #21998e;
/* rgb */ color: rgb(33, 153, 142);
/* oklch */ color: oklch(61.8% 0.101 185.5);
Tailwind
colors: {
  custom: {
    50: '#72b7af',
    500: '#21998e',
    950: '#000000',
  },
}
SCSS
$custom: #21998e;
$custom-light: #72b7af;
$custom-dark: #000000;
JSON
{
  "hex": "#21998e",
  "rgb": {
    "r": 33,
    "g": 153,
    "b": 142
  },
  "hsl": {
    "h": 174.5,
    "s": 64.516,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61796,
    "c": 0.10123,
    "h": 185.5
  },
  "luminance": 0.25059
}

Semantic roles & 50–950 ramp

primary
#21998E
secondary
#BF5660
accent
#4050E8
background
#F7FBFA
surface
#EEF6F4
border
#C9D0CE
text
#091110
muted
#7B807F

Preview Lab

Preview with #21998E

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

Preview Lab → · Contrast checker → · Palette generator →

#21998E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva