#21705F#21705F

#21705F is a mid, moderate teal. Relative luminance 0.127; OKLCH L 49.3% C 0.080 H 175.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#21705F
RGBrgb(33, 112, 95)
HSLhsl(167, 54%, 28%)
HSVhsv(167, 71%, 44%)
CMYKcmyk(70.5%, 0%, 15.2%, 56.1%)
CIE-LABlab(42.36, -28.10, 2.56)
CIE-LCHlch(42.36, 28.21, 174.79°)
OKLaboklab(49.3% -0.08 0.0064)
OKLCHoklch(49.3% 0.08 175.5)
XYZxyz(8.4859, 12.7369, 12.8355)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21705F #702132
analogous
#217037 #21705F #215970
triadic
#21705F #5F2170 #705F21
tetradic
#21705F #372170 #702132 #597021
square
#21705F #372170 #702132 #597021
split-complementary
#21705F #702159 #703721
monochromatic
#071814 #134137 #21705F #2F9F87 #44C8AB

Accessibility & contrast

On white

5.92
#21705F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#21705F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21705F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21705F#FFFFFF#000000##FFFFFF
##21705F1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C695E
Deuteranopia (green-blind)
#616160
Tritanopia (blue-blind)
#00716B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #21705f;
/* rgb */ color: rgb(33, 112, 95);
/* oklch */ color: oklch(49.3% 0.080 175.5);
Tailwind
colors: {
  custom: {
    50: '#68998c',
    500: '#21705f',
    950: '#000000',
  },
}
SCSS
$custom: #21705f;
$custom-light: #68998c;
$custom-dark: #000000;
JSON
{
  "hex": "#21705f",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 95
  },
  "hsl": {
    "h": 167.089,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.49303,
    "c": 0.08025,
    "h": 175.5
  },
  "luminance": 0.12738
}

Semantic roles & 50–950 ramp

primary
#21705F
secondary
#A4495D
accent
#4A6ADE
background
#F6F9F8
surface
#EBF2F0
border
#C6CCCB
text
#070E0C
muted
#7A7E7D

Preview Lab

Preview with #21705F

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

Preview Lab → · Contrast checker → · Palette generator →

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