#21785A#21785A

#21785A is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.4% C 0.095 H 165.6°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#21785A
RGBrgb(33, 120, 90)
HSLhsl(159, 57%, 30%)
HSVhsv(159, 73%, 47%)
CMYKcmyk(72.5%, 0%, 25%, 52.9%)
CIE-LABlab(44.93, -33.17, 9.21)
CIE-LCHlch(44.93, 34.42, 164.48°)
OKLaboklab(51.36% -0.0916 0.0235)
OKLCHoklch(51.36% 0.095 165.6)
XYZxyz(9.1881, 14.4934, 11.9842)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21785A #78213F
analogous
#21782E #21785A #216B78
triadic
#21785A #5A2178 #785A21
tetradic
#21785A #2E2178 #78213F #6B7821
square
#21785A #2E2178 #78213F #6B7821
split-complementary
#21785A #78216B #782E21
monochromatic
#071812 #144836 #21785A #2EA87E #47CC9E

Accessibility & contrast

On white

5.39
#21785A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#21785A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21785A
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21785A#FFFFFF#000000##FFFFFF
##21785A1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756F58
Deuteranopia (green-blind)
#6A675C
Tritanopia (blue-blind)
#007870
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21785a;
/* rgb */ color: rgb(33, 120, 90);
/* oklch */ color: oklch(51.4% 0.095 165.6);
Tailwind
colors: {
  custom: {
    50: '#69a088',
    500: '#21785a',
    950: '#000000',
  },
}
SCSS
$custom: #21785a;
$custom-light: #69a088;
$custom-dark: #000000;
JSON
{
  "hex": "#21785a",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 90
  },
  "hsl": {
    "h": 159.31,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.51361,
    "c": 0.09453,
    "h": 165.6
  },
  "luminance": 0.14494
}

Semantic roles & 50–950 ramp

primary
#21785A
secondary
#AB4A6B
accent
#487CE0
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #21785A

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

Preview Lab → · Contrast checker → · Palette generator →

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