#21794E#21794E

#21794E is a mid, moderate teal. Relative luminance 0.145; OKLCH L 51.3% C 0.107 H 157.4°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#21794E
RGBrgb(33, 121, 78)
HSLhsl(151, 57%, 30%)
HSVhsv(151, 73%, 47%)
CMYKcmyk(72.7%, 0%, 35.5%, 52.5%)
CIE-LABlab(45.01, -36.43, 16.33)
CIE-LCHlch(45.01, 39.93, 155.86°)
OKLaboklab(51.34% -0.0988 0.0412)
OKLCHoklch(51.34% 0.107 157.4)
XYZxyz(8.8389, 14.5471, 9.5483)
Luminance0.1455 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21794E #79214C
analogous
#217922 #21794E #217879
triadic
#21794E #4E2179 #794E21
tetradic
#21794E #222179 #79214C #787921
square
#21794E #222179 #79214C #787921
split-complementary
#21794E #792178 #792221
monochromatic
#071910 #14492F #21794E #2EA96D #47CD8C

Accessibility & contrast

On white

5.37
#21794E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#21794E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21794E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21794E#FFFFFF#000000##FFFFFF
##21794E1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786F4B
Deuteranopia (green-blind)
#6D6751
Tritanopia (blue-blind)
#00786E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21794e;
/* rgb */ color: rgb(33, 121, 78);
/* oklch */ color: oklch(51.3% 0.107 157.4);
Tailwind
colors: {
  custom: {
    50: '#69a080',
    500: '#21794e',
    950: '#000000',
  },
}
SCSS
$custom: #21794e;
$custom-light: #69a080;
$custom-dark: #000000;
JSON
{
  "hex": "#21794e",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 78
  },
  "hsl": {
    "h": 150.682,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51336,
    "c": 0.10704,
    "h": 157.4
  },
  "luminance": 0.14548
}

Semantic roles & 50–950 ramp

primary
#21794E
secondary
#AC4A7A
accent
#4792E0
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #21794E

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

Preview Lab → · Contrast checker → · Palette generator →

#21794E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva