#21784E#21784E

#21784E is a mid, moderate teal. Relative luminance 0.143; OKLCH L 51.1% C 0.106 H 157.7°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#21784E
RGBrgb(33, 120, 78)
HSLhsl(151, 57%, 30%)
HSVhsv(151, 73%, 47%)
CMYKcmyk(72.5%, 0%, 35%, 52.9%)
CIE-LABlab(44.67, -36.01, 15.87)
CIE-LCHlch(44.67, 39.35, 156.22°)
OKLaboklab(51.06% -0.0977 0.04)
OKLCHoklch(51.06% 0.106 157.7)
XYZxyz(8.7180, 14.3054, 9.5080)
Luminance0.1431 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21784E #78214B
analogous
#217822 #21784E #217778
triadic
#21784E #4E2178 #784E21
tetradic
#21784E #222178 #78214B #777821
square
#21784E #222178 #78214B #777821
split-complementary
#21784E #782177 #782221
monochromatic
#071810 #14482F #21784E #2EA86D #47CC8C

Accessibility & contrast

On white

5.44
#21784E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#21784E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21784E
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21784E#FFFFFF#000000##FFFFFF
##21784E1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776E4B
Deuteranopia (green-blind)
#6C6651
Tritanopia (blue-blind)
#00776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21784e;
/* rgb */ color: rgb(33, 120, 78);
/* oklch */ color: oklch(51.1% 0.106 157.7);
Tailwind
colors: {
  custom: {
    50: '#69a080',
    500: '#21784e',
    950: '#000000',
  },
}
SCSS
$custom: #21784e;
$custom-light: #69a080;
$custom-dark: #000000;
JSON
{
  "hex": "#21784e",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 78
  },
  "hsl": {
    "h": 151.034,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.51057,
    "c": 0.10559,
    "h": 157.7
  },
  "luminance": 0.14306
}

Semantic roles & 50–950 ramp

primary
#21784E
secondary
#AB4A79
accent
#4891E0
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #21784E

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

Preview Lab → · Contrast checker → · Palette generator →

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