#21705D#21705D

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

Color values

HEX#21705D
RGBrgb(33, 112, 93)
HSLhsl(166, 54%, 28%)
HSVhsv(166, 71%, 44%)
CMYKcmyk(70.5%, 0%, 17%, 56.1%)
CIE-LABlab(42.31, -28.65, 3.69)
CIE-LCHlch(42.31, 28.89, 172.67°)
OKLaboklab(49.24% -0.081 0.0093)
OKLCHoklch(49.24% 0.082 173.4)
XYZxyz(8.3962, 12.7011, 12.3629)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21705D #702134
analogous
#217035 #21705D #215B70
triadic
#21705D #5D2170 #705D21
tetradic
#21705D #352170 #702134 #5B7021
square
#21705D #352170 #702134 #5B7021
split-complementary
#21705D #70215B #703521
monochromatic
#071814 #134136 #21705D #2F9F84 #44C8A8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21705D#FFFFFF#000000##FFFFFF
##21705D1.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)
#6C695C
Deuteranopia (green-blind)
#61615E
Tritanopia (blue-blind)
#00716A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #21705d;
/* rgb */ color: rgb(33, 112, 93);
/* oklch */ color: oklch(49.2% 0.082 173.4);
Tailwind
colors: {
  custom: {
    50: '#68998a',
    500: '#21705d',
    950: '#000000',
  },
}
SCSS
$custom: #21705d;
$custom-light: #68998a;
$custom-dark: #000000;
JSON
{
  "hex": "#21705d",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 93
  },
  "hsl": {
    "h": 165.57,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4924,
    "c": 0.08156,
    "h": 173.4
  },
  "luminance": 0.12702
}

Semantic roles & 50–950 ramp

primary
#21705D
secondary
#A4495F
accent
#4A6EDE
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070E0B
muted
#7A7E7C

Preview Lab

Preview with #21705D

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

Preview Lab → · Contrast checker → · Palette generator →

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