#21704F#21704F

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

Color values

HEX#21704F
RGBrgb(33, 112, 79)
HSLhsl(155, 54%, 28%)
HSVhsv(155, 71%, 44%)
CMYKcmyk(70.5%, 0%, 29.5%, 56.1%)
CIE-LABlab(41.96, -32.26, 11.57)
CIE-LCHlch(41.96, 34.27, 160.27°)
OKLaboklab(48.84% -0.0883 0.0295)
OKLCHoklch(48.84% 0.093 161.6)
XYZxyz(7.8319, 12.4753, 9.3908)
Luminance0.1248 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21704F #702142
analogous
#217027 #21704F #216970
triadic
#21704F #4F2170 #704F21
tetradic
#21704F #272170 #702142 #697021
square
#21704F #272170 #702142 #697021
split-complementary
#21704F #702169 #702721
monochromatic
#071811 #13412E #21704F #2F9F70 #44C891

Accessibility & contrast

On white

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

On black

3.50
#21704F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##21704F#FFFFFF#000000##FFFFFF
##21704F1.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21704f;
/* rgb */ color: rgb(33, 112, 79);
/* oklch */ color: oklch(48.8% 0.093 161.6);
Tailwind
colors: {
  custom: {
    50: '#679a80',
    500: '#21704f',
    950: '#000000',
  },
}
SCSS
$custom: #21704f;
$custom-light: #679a80;
$custom-dark: #000000;
JSON
{
  "hex": "#21704f",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 79
  },
  "hsl": {
    "h": 154.937,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48841,
    "c": 0.09307,
    "h": 161.6
  },
  "luminance": 0.12476
}

Semantic roles & 50–950 ramp

primary
#21704F
secondary
#A4496F
accent
#4A88DE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #21704F

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

Preview Lab → · Contrast checker → · Palette generator →

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