#21786F#21786F

#21786F is a mid, moderate teal. Relative luminance 0.149; OKLCH L 52.0% C 0.081 H 185.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#21786F
RGBrgb(33, 120, 111)
HSLhsl(174, 57%, 30%)
HSVhsv(174, 73%, 47%)
CMYKcmyk(72.5%, 0%, 7.5%, 52.9%)
CIE-LABlab(45.50, -27.39, -2.44)
CIE-LCHlch(45.50, 27.50, 185.10°)
OKLaboklab(52.01% -0.0809 -0.007)
OKLCHoklch(52.01% 0.081 185)
XYZxyz(10.2116, 14.9028, 17.3742)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21786F #78212A
analogous
#217843 #21786F #215678
triadic
#21786F #6F2178 #786F21
tetradic
#21786F #432178 #78212A #567821
square
#21786F #432178 #78212A #567821
split-complementary
#21786F #782156 #784321
monochromatic
#071816 #144843 #21786F #2EA89B #47CCBF

Accessibility & contrast

On white

5.28
#21786F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#21786F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21786F
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21786F#FFFFFF#000000##FFFFFF
##21786F1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72716F
Deuteranopia (green-blind)
#656870
Tritanopia (blue-blind)
#007B75
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #21786f;
/* rgb */ color: rgb(33, 120, 111);
/* oklch */ color: oklch(52.0% 0.081 185.0);
Tailwind
colors: {
  custom: {
    50: '#6a9f98',
    500: '#21786f',
    950: '#000000',
  },
}
SCSS
$custom: #21786f;
$custom-light: #6a9f98;
$custom-dark: #000000;
JSON
{
  "hex": "#21786f",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 173.793,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.52014,
    "c": 0.08122,
    "h": 185
  },
  "luminance": 0.14904
}

Semantic roles & 50–950 ramp

primary
#21786F
secondary
#AB4A54
accent
#4857E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070E0D
muted
#7A7E7E

Preview Lab

Preview with #21786F

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

Preview Lab → · Contrast checker → · Palette generator →

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