#21704D#21704D

#21704D is a mid, moderate teal. Relative luminance 0.124; OKLCH L 48.8% C 0.095 H 160.2°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#21704D
RGBrgb(33, 112, 77)
HSLhsl(153, 54%, 28%)
HSVhsv(153, 71%, 44%)
CMYKcmyk(70.5%, 0%, 31.2%, 56.1%)
CIE-LABlab(41.92, -32.73, 12.69)
CIE-LCHlch(41.92, 35.11, 158.80°)
OKLaboklab(48.79% -0.0893 0.0322)
OKLCHoklch(48.79% 0.095 160.2)
XYZxyz(7.7602, 12.4466, 9.0132)
Luminance0.1245 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21704D #702144
analogous
#217025 #21704D #216B70
triadic
#21704D #4D2170 #704D21
tetradic
#21704D #252170 #702144 #6B7021
square
#21704D #252170 #702144 #6B7021
split-complementary
#21704D #70216B #702521
monochromatic
#071810 #13412C #21704D #2F9F6D #44C88D

Accessibility & contrast

On white

6.02
#21704D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#21704D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21704D
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21704D#FFFFFF#000000##FFFFFF
##21704D1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F674B
Deuteranopia (green-blind)
#64604F
Tritanopia (blue-blind)
#007067
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #21704d;
/* rgb */ color: rgb(33, 112, 77);
/* oklch */ color: oklch(48.8% 0.095 160.2);
Tailwind
colors: {
  custom: {
    50: '#679a7f',
    500: '#21704d',
    950: '#000000',
  },
}
SCSS
$custom: #21704d;
$custom-light: #679a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#21704d",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 77
  },
  "hsl": {
    "h": 153.418,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4879,
    "c": 0.09496,
    "h": 160.2
  },
  "luminance": 0.12447
}

Semantic roles & 50–950 ramp

primary
#21704D
secondary
#A44971
accent
#4A8BDE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #21704D

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

Preview Lab → · Contrast checker → · Palette generator →

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