#21705E#21705E

#21705E is a mid, moderate teal. Relative luminance 0.127; OKLCH L 49.3% C 0.081 H 174.4°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#21705E
RGBrgb(33, 112, 94)
HSLhsl(166, 54%, 28%)
HSVhsv(166, 71%, 44%)
CMYKcmyk(70.5%, 0%, 16.1%, 56.1%)
CIE-LABlab(42.34, -28.38, 3.13)
CIE-LCHlch(42.34, 28.55, 173.72°)
OKLaboklab(49.27% -0.0805 0.0078)
OKLCHoklch(49.27% 0.081 174.4)
XYZxyz(8.4407, 12.7189, 12.5976)
Luminance0.1272 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21705E #702133
analogous
#217036 #21705E #215A70
triadic
#21705E #5E2170 #705E21
tetradic
#21705E #362170 #702133 #5A7021
square
#21705E #362170 #702133 #5A7021
split-complementary
#21705E #70215A #703621
monochromatic
#071814 #134136 #21705E #2F9F86 #44C8AA

Accessibility & contrast

On white

5.93
#21705E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#21705E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21705E
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21705E#FFFFFF#000000##FFFFFF
##21705E1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C695D
Deuteranopia (green-blind)
#61615F
Tritanopia (blue-blind)
#00716B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #21705e;
/* rgb */ color: rgb(33, 112, 94);
/* oklch */ color: oklch(49.3% 0.081 174.4);
Tailwind
colors: {
  custom: {
    50: '#68998b',
    500: '#21705e',
    950: '#000000',
  },
}
SCSS
$custom: #21705e;
$custom-light: #68998b;
$custom-dark: #000000;
JSON
{
  "hex": "#21705e",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 94
  },
  "hsl": {
    "h": 166.329,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49272,
    "c": 0.0809,
    "h": 174.4
  },
  "luminance": 0.1272
}

Semantic roles & 50–950 ramp

primary
#21705E
secondary
#A4495E
accent
#4A6CDE
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #21705E

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

Preview Lab → · Contrast checker → · Palette generator →

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