#21704A#21704A

#21704A is a mid, moderate teal. Relative luminance 0.124; OKLCH L 48.7% C 0.098 H 158.2°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#21704A
RGBrgb(33, 112, 74)
HSLhsl(151, 54%, 28%)
HSVhsv(151, 71%, 44%)
CMYKcmyk(70.5%, 0%, 33.9%, 56.1%)
CIE-LABlab(41.85, -33.42, 14.38)
CIE-LCHlch(41.85, 36.39, 156.73°)
OKLaboklab(48.72% -0.0909 0.0363)
OKLCHoklch(48.72% 0.098 158.2)
XYZxyz(7.6567, 12.4053, 8.4682)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21704A #702147
analogous
#217022 #21704A #216E70
triadic
#21704A #4A2170 #704A21
tetradic
#21704A #222170 #702147 #6E7021
square
#21704A #222170 #702147 #6E7021
split-complementary
#21704A #70216E #702221
monochromatic
#071810 #13412B #21704A #2F9F69 #44C888

Accessibility & contrast

On white

6.03
#21704A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#21704A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21704A
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21704A#FFFFFF#000000##FFFFFF
##21704A1.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6748
Deuteranopia (green-blind)
#65604C
Tritanopia (blue-blind)
#006F66
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #21704a;
/* rgb */ color: rgb(33, 112, 74);
/* oklch */ color: oklch(48.7% 0.098 158.2);
Tailwind
colors: {
  custom: {
    50: '#679a7c',
    500: '#21704a',
    950: '#000000',
  },
}
SCSS
$custom: #21704a;
$custom-light: #679a7c;
$custom-dark: #000000;
JSON
{
  "hex": "#21704a",
  "rgb": {
    "r": 33,
    "g": 112,
    "b": 74
  },
  "hsl": {
    "h": 151.139,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.48716,
    "c": 0.09787,
    "h": 158.2
  },
  "luminance": 0.12406
}

Semantic roles & 50–950 ramp

primary
#21704A
secondary
#A44975
accent
#4A91DE
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E09
muted
#7A7E7B

Preview Lab

Preview with #21704A

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

Preview Lab → · Contrast checker → · Palette generator →

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