#21704C#21704C

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

Color values

HEX#21704C
RGBrgb(33, 112, 76)
HSLhsl(153, 54%, 28%)
HSVhsv(153, 71%, 44%)
CMYKcmyk(70.5%, 0%, 32.1%, 56.1%)
CIE-LABlab(41.90, -32.97, 13.26)
CIE-LCHlch(41.90, 35.53, 158.10°)
OKLaboklab(48.77% -0.0898 0.0336)
OKLCHoklch(48.77% 0.096 159.5)
XYZxyz(7.7251, 12.4326, 8.8287)
Luminance0.1243 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21704C #702145
analogous
#217024 #21704C #216C70
triadic
#21704C #4C2170 #704C21
tetradic
#21704C #242170 #702145 #6C7021
square
#21704C #242170 #702145 #6C7021
split-complementary
#21704C #70216C #702421
monochromatic
#071810 #13412C #21704C #2F9F6C #44C88C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21704C#FFFFFF#000000##FFFFFF
##21704C1.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)
#6F674A
Deuteranopia (green-blind)
#64604E
Tritanopia (blue-blind)
#006F66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #21704c;
/* rgb */ color: rgb(33, 112, 76);
/* oklch */ color: oklch(48.8% 0.096 159.5);
Tailwind
colors: {
  custom: {
    50: '#679a7e',
    500: '#21704c',
    950: '#000000',
  },
}
SCSS
$custom: #21704c;
$custom-light: #679a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#21704c",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 76
  },
  "hsl": {
    "h": 152.658,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48765,
    "c": 0.09592,
    "h": 159.5
  },
  "luminance": 0.12433
}

Semantic roles & 50–950 ramp

primary
#21704C
secondary
#A44972
accent
#4A8DDE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #21704C

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

Preview Lab → · Contrast checker → · Palette generator →

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