#21785E#21785E

#21785E is a mid, moderate teal. Relative luminance 0.146; OKLCH L 51.5% C 0.091 H 168.7°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#21785E
RGBrgb(33, 120, 94)
HSLhsl(162, 57%, 30%)
HSVhsv(162, 73%, 47%)
CMYKcmyk(72.5%, 0%, 21.7%, 52.9%)
CIE-LABlab(45.03, -32.14, 6.98)
CIE-LCHlch(45.03, 32.89, 167.74°)
OKLaboklab(51.47% -0.0895 0.0179)
OKLCHoklch(51.47% 0.091 168.7)
XYZxyz(9.3630, 14.5634, 12.9051)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21785E #78213B
analogous
#217832 #21785E #216778
triadic
#21785E #5E2178 #785E21
tetradic
#21785E #322178 #78213B #677821
square
#21785E #322178 #78213B #677821
split-complementary
#21785E #782167 #783221
monochromatic
#071813 #144838 #21785E #2EA884 #47CCA5

Accessibility & contrast

On white

5.37
#21785E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#21785E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21785E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21785E#FFFFFF#000000##FFFFFF
##21785E1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75705D
Deuteranopia (green-blind)
#696760
Tritanopia (blue-blind)
#007971
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #21785e;
/* rgb */ color: rgb(33, 120, 94);
/* oklch */ color: oklch(51.5% 0.091 168.7);
Tailwind
colors: {
  custom: {
    50: '#699f8b',
    500: '#21785e',
    950: '#000000',
  },
}
SCSS
$custom: #21785e;
$custom-light: #699f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#21785e",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 94
  },
  "hsl": {
    "h": 162.069,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.51474,
    "c": 0.09126,
    "h": 168.7
  },
  "luminance": 0.14564
}

Semantic roles & 50–950 ramp

primary
#21785E
secondary
#AB4A67
accent
#4875E0
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #21785E

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

Preview Lab → · Contrast checker → · Palette generator →

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