#21796F#21796F

#21796F is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.3% C 0.082 H 184.0°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#21796F
RGBrgb(33, 121, 111)
HSLhsl(173, 57%, 30%)
HSVhsv(173, 73%, 47%)
CMYKcmyk(72.7%, 0%, 8.3%, 52.5%)
CIE-LABlab(45.83, -27.89, -1.96)
CIE-LCHlch(45.83, 27.95, 184.01°)
OKLaboklab(52.28% -0.082 -0.0057)
OKLCHoklch(52.28% 0.082 184)
XYZxyz(10.3324, 15.1446, 17.4145)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21796F #79212B
analogous
#217943 #21796F #215779
triadic
#21796F #6F2179 #796F21
tetradic
#21796F #432179 #79212B #577921
square
#21796F #432179 #79212B #577921
split-complementary
#21796F #792157 #794321
monochromatic
#071917 #144943 #21796F #2EA99B #47CDBE

Accessibility & contrast

On white

5.21
#21796F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#21796F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21796F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21796F#FFFFFF#000000##FFFFFF
##21796F1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73726F
Deuteranopia (green-blind)
#666970
Tritanopia (blue-blind)
#007C76
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #21796f;
/* rgb */ color: rgb(33, 121, 111);
/* oklch */ color: oklch(52.3% 0.082 184.0);
Tailwind
colors: {
  custom: {
    50: '#6ba098',
    500: '#21796f',
    950: '#000000',
  },
}
SCSS
$custom: #21796f;
$custom-light: #6ba098;
$custom-dark: #000000;
JSON
{
  "hex": "#21796f",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 111
  },
  "hsl": {
    "h": 173.182,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52283,
    "c": 0.08221,
    "h": 184
  },
  "luminance": 0.15146
}

Semantic roles & 50–950 ramp

primary
#21796F
secondary
#AC4A55
accent
#4759E0
background
#F6F9F9
surface
#ECF2F2
border
#C7CCCC
text
#070F0D
muted
#7A7E7E

Preview Lab

Preview with #21796F

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

Preview Lab → · Contrast checker → · Palette generator →

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