#21704E#21704E

#21704E is a mid, moderate teal. Relative luminance 0.125; OKLCH L 48.8% C 0.094 H 160.8°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#21704E
RGBrgb(33, 112, 78)
HSLhsl(154, 54%, 28%)
HSVhsv(154, 71%, 44%)
CMYKcmyk(70.5%, 0%, 30.4%, 56.1%)
CIE-LABlab(41.94, -32.50, 12.13)
CIE-LCHlch(41.94, 34.69, 159.53°)
OKLaboklab(48.82% -0.0888 0.0308)
OKLCHoklch(48.82% 0.094 160.8)
XYZxyz(7.7957, 12.4609, 9.2006)
Luminance0.1246 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21704E #702143
analogous
#217026 #21704E #216A70
triadic
#21704E #4E2170 #704E21
tetradic
#21704E #262170 #702143 #6A7021
square
#21704E #262170 #702143 #6A7021
split-complementary
#21704E #70216A #702621
monochromatic
#071810 #13412D #21704E #2F9F6F #44C88F

Accessibility & contrast

On white

6.01
#21704E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21704E
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21704E#FFFFFF#000000##FFFFFF
##21704E1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E674C
Deuteranopia (green-blind)
#646050
Tritanopia (blue-blind)
#007067
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #21704e;
/* rgb */ color: rgb(33, 112, 78);
/* oklch */ color: oklch(48.8% 0.094 160.8);
Tailwind
colors: {
  custom: {
    50: '#679a7f',
    500: '#21704e',
    950: '#000000',
  },
}
SCSS
$custom: #21704e;
$custom-light: #679a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#21704e",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 78
  },
  "hsl": {
    "h": 154.177,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48815,
    "c": 0.094,
    "h": 160.8
  },
  "luminance": 0.12462
}

Semantic roles & 50–950 ramp

primary
#21704E
secondary
#A44970
accent
#4A8ADE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #21704E

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

Preview Lab → · Contrast checker → · Palette generator →

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