#21725F#21725F

#21725F is a mid, moderate teal. Relative luminance 0.132; OKLCH L 49.9% C 0.083 H 173.8°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#21725F
RGBrgb(33, 114, 95)
HSLhsl(166, 55%, 29%)
HSVhsv(166, 71%, 45%)
CMYKcmyk(71.1%, 0%, 16.7%, 55.3%)
CIE-LABlab(43.04, -29.06, 3.54)
CIE-LCHlch(43.04, 29.27, 173.06°)
OKLaboklab(49.85% -0.0823 0.0089)
OKLCHoklch(49.85% 0.083 173.8)
XYZxyz(8.7090, 13.1832, 12.9099)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21725F #722134
analogous
#217237 #21725F #215D72
triadic
#21725F #5F2172 #725F21
tetradic
#21725F #372172 #722134 #5D7221
square
#21725F #372172 #722134 #5D7221
split-complementary
#21725F #72215D #723721
monochromatic
#071814 #134337 #21725F #2FA187 #44C9AA

Accessibility & contrast

On white

5.77
#21725F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#21725F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21725F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21725F#FFFFFF#000000##FFFFFF
##21725F1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6A5E
Deuteranopia (green-blind)
#636260
Tritanopia (blue-blind)
#00736C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #21725f;
/* rgb */ color: rgb(33, 114, 95);
/* oklch */ color: oklch(49.9% 0.083 173.8);
Tailwind
colors: {
  custom: {
    50: '#689b8c',
    500: '#21725f',
    950: '#000000',
  },
}
SCSS
$custom: #21725f;
$custom-light: #689b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#21725f",
  "rgb": {
    "r": 33,
    "g": 114,
    "b": 95
  },
  "hsl": {
    "h": 165.926,
    "s": 55.102,
    "l": 28.824
  },
  "oklch": {
    "l": 0.49853,
    "c": 0.08275,
    "h": 173.8
  },
  "luminance": 0.13184
}

Semantic roles & 50–950 ramp

primary
#21725F
secondary
#A5495F
accent
#496CDE
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #21725F

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

Preview Lab → · Contrast checker → · Palette generator →

#21725F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva