#21794D#21794D

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

Color values

HEX#21794D
RGBrgb(33, 121, 77)
HSLhsl(150, 57%, 30%)
HSVhsv(150, 73%, 47%)
CMYKcmyk(72.7%, 0%, 36.4%, 52.5%)
CIE-LABlab(44.99, -36.65, 16.88)
CIE-LCHlch(44.99, 40.35, 155.27°)
OKLaboklab(51.31% -0.0993 0.0425)
OKLCHoklch(51.31% 0.108 156.8)
XYZxyz(8.8033, 14.5329, 9.3609)
Luminance0.1453 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21794D #79214D
analogous
#217921 #21794D #217979
triadic
#21794D #4D2179 #794D21
tetradic
#21794D #212179 #79214D #797921
square
#21794D #212179 #79214D #797921
split-complementary
#21794D #792179 #792121
monochromatic
#071910 #14492E #21794D #2EA96C #47CD8A

Accessibility & contrast

On white

5.38
#21794D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21794D
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21794D#FFFFFF#000000##FFFFFF
##21794D1.005.383.915.38
#FFFFFF5.381.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21794d;
/* rgb */ color: rgb(33, 121, 77);
/* oklch */ color: oklch(51.3% 0.108 156.8);
Tailwind
colors: {
  custom: {
    50: '#69a07f',
    500: '#21794d',
    950: '#000000',
  },
}
SCSS
$custom: #21794d;
$custom-light: #69a07f;
$custom-dark: #000000;
JSON
{
  "hex": "#21794d",
  "rgb": {
    "r": 33,
    "g": 121,
    "b": 77
  },
  "hsl": {
    "h": 150,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51313,
    "c": 0.10801,
    "h": 156.8
  },
  "luminance": 0.14534
}

Semantic roles & 50–950 ramp

primary
#21794D
secondary
#AC4A7B
accent
#4794E0
background
#F6F9F7
surface
#ECF2EE
border
#C7CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #21794D

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

Preview Lab → · Contrast checker → · Palette generator →

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