#21795D#21795D

#21795D is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.7% C 0.093 H 167.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#21795D
RGBrgb(33, 121, 93)
HSLhsl(161, 57%, 30%)
HSVhsv(161, 73%, 47%)
CMYKcmyk(72.7%, 0%, 23.1%, 52.5%)
CIE-LABlab(45.34, -32.86, 8.02)
CIE-LCHlch(45.34, 33.82, 166.29°)
OKLaboklab(51.72% -0.0911 0.0205)
OKLCHoklch(51.72% 0.093 167.3)
XYZxyz(9.4393, 14.7873, 12.7106)
Luminance0.1479 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21795D #79213D
analogous
#217931 #21795D #216979
triadic
#21795D #5D2179 #795D21
tetradic
#21795D #312179 #79213D #697921
square
#21795D #312179 #79213D #697921
split-complementary
#21795D #792169 #793121
monochromatic
#071913 #144938 #21795D #2EA982 #47CDA2

Accessibility & contrast

On white

5.31
#21795D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#21795D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21795D
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21795D#FFFFFF#000000##FFFFFF
##21795D1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76705C
Deuteranopia (green-blind)
#6A685F
Tritanopia (blue-blind)
#007A71
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #21795d;
/* rgb */ color: rgb(33, 121, 93);
/* oklch */ color: oklch(51.7% 0.093 167.3);
Tailwind
colors: {
  custom: {
    50: '#69a08b',
    500: '#21795d',
    950: '#000000',
  },
}
SCSS
$custom: #21795d;
$custom-light: #69a08b;
$custom-dark: #000000;
JSON
{
  "hex": "#21795d",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 93
  },
  "hsl": {
    "h": 160.909,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51721,
    "c": 0.0934,
    "h": 167.3
  },
  "luminance": 0.14788
}

Semantic roles & 50–950 ramp

primary
#21795D
secondary
#AC4A69
accent
#4778E0
background
#F6F9F8
surface
#ECF2F0
border
#C7CCCB
text
#070F0B
muted
#7A7E7C

Preview Lab

Preview with #21795D

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

Preview Lab → · Contrast checker → · Palette generator →

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