#21837F#21837F

#21837F is a mid, moderate teal. Relative luminance 0.181; OKLCH L 55.5% C 0.087 H 190.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#21837F
RGBrgb(33, 131, 127)
HSLhsl(178, 60%, 32%)
HSVhsv(178, 75%, 51%)
CMYKcmyk(74.8%, 0%, 3.1%, 48.6%)
CIE-LABlab(49.60, -28.00, -5.84)
CIE-LCHlch(49.60, 28.61, 191.78°)
OKLaboklab(55.51% -0.085 -0.0163)
OKLCHoklch(55.51% 0.087 190.9)
XYZxyz(12.5725, 18.0867, 22.9030)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21837F #832125
analogous
#21834E #21837F #215683
triadic
#21837F #7F2183 #837F21
tetradic
#21837F #4E2183 #832125 #568321
square
#21837F #4E2183 #832125 #568321
split-complementary
#21837F #832156 #834E21
monochromatic
#082120 #155250 #21837F #2DB4AE #4CD2CD

Accessibility & contrast

On white

4.55
#21837F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#21837F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21837F
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21837F#FFFFFF#000000##000000
##21837F1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B7C7F
Deuteranopia (green-blind)
#6D7280
Tritanopia (blue-blind)
#008782
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #21837f;
/* rgb */ color: rgb(33, 131, 127);
/* oklch */ color: oklch(55.5% 0.087 190.9);
Tailwind
colors: {
  custom: {
    50: '#6ea7a4',
    500: '#21837f',
    950: '#000000',
  },
}
SCSS
$custom: #21837f;
$custom-light: #6ea7a4;
$custom-dark: #000000;
JSON
{
  "hex": "#21837f",
  "rgb": {
    "r": 33,
    "g": 131,
    "b": 127
  },
  "hsl": {
    "h": 177.551,
    "s": 59.756,
    "l": 32.157
  },
  "oklch": {
    "l": 0.55514,
    "c": 0.0866,
    "h": 190.9
  },
  "luminance": 0.18088
}

Semantic roles & 50–950 ramp

primary
#21837F
secondary
#B54B4F
accent
#454BE3
background
#F7FAFA
surface
#EDF4F4
border
#C8CECE
text
#080F0F
muted
#7B7F7F

Preview Lab

Preview with #21837F

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

Preview Lab → · Contrast checker → · Palette generator →

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