#21795A#21795A

#21795A is a mid, moderate teal. Relative luminance 0.147; OKLCH L 51.6% C 0.096 H 165.1°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#21795A
RGBrgb(33, 121, 90)
HSLhsl(159, 57%, 30%)
HSVhsv(159, 73%, 47%)
CMYKcmyk(72.7%, 0%, 25.6%, 52.5%)
CIE-LABlab(45.27, -33.62, 9.68)
CIE-LCHlch(45.27, 34.98, 163.93°)
OKLaboklab(51.64% -0.0927 0.0247)
OKLCHoklch(51.64% 0.096 165.1)
XYZxyz(9.3090, 14.7352, 12.0244)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21795A #792140
analogous
#21792E #21795A #216C79
triadic
#21795A #5A2179 #795A21
tetradic
#21795A #2E2179 #792140 #6C7921
square
#21795A #2E2179 #792140 #6C7921
split-complementary
#21795A #79216C #792E21
monochromatic
#071912 #144936 #21795A #2EA97E #47CD9E

Accessibility & contrast

On white

5.32
#21795A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#21795A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21795A
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21795A#FFFFFF#000000##FFFFFF
##21795A1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#767058
Deuteranopia (green-blind)
#6B685C
Tritanopia (blue-blind)
#007970
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #21795a;
/* rgb */ color: rgb(33, 121, 90);
/* oklch */ color: oklch(51.6% 0.096 165.1);
Tailwind
colors: {
  custom: {
    50: '#69a088',
    500: '#21795a',
    950: '#000000',
  },
}
SCSS
$custom: #21795a;
$custom-light: #69a088;
$custom-dark: #000000;
JSON
{
  "hex": "#21795a",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 90
  },
  "hsl": {
    "h": 158.864,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51638,
    "c": 0.09591,
    "h": 165.1
  },
  "luminance": 0.14736
}

Semantic roles & 50–950 ramp

primary
#21795A
secondary
#AC4A6C
accent
#477DE0
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #21795A

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

Preview Lab → · Contrast checker → · Palette generator →

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