#21784D#21784D

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

Color values

HEX#21784D
RGBrgb(33, 120, 77)
HSLhsl(150, 57%, 30%)
HSVhsv(150, 73%, 47%)
CMYKcmyk(72.5%, 0%, 35.8%, 52.9%)
CIE-LABlab(44.65, -36.23, 16.42)
CIE-LCHlch(44.65, 39.78, 155.62°)
OKLaboklab(51.03% -0.0982 0.0414)
OKLCHoklch(51.03% 0.107 157.2)
XYZxyz(8.6824, 14.2911, 9.3206)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21784D #78214C
analogous
#217822 #21784D #217778
triadic
#21784D #4D2178 #784D21
tetradic
#21784D #222178 #78214C #777821
square
#21784D #222178 #78214C #777821
split-complementary
#21784D #782177 #782221
monochromatic
#07180F #14482E #21784D #2EA86C #47CC8A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21784D#FFFFFF#000000##FFFFFF
##21784D1.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)
#776E4A
Deuteranopia (green-blind)
#6C6650
Tritanopia (blue-blind)
#00776D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #21784d;
/* rgb */ color: rgb(33, 120, 77);
/* oklch */ color: oklch(51.0% 0.107 157.2);
Tailwind
colors: {
  custom: {
    50: '#69a07f',
    500: '#21784d',
    950: '#000000',
  },
}
SCSS
$custom: #21784d;
$custom-light: #69a07f;
$custom-dark: #000000;
JSON
{
  "hex": "#21784d",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 77
  },
  "hsl": {
    "h": 150.345,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.51034,
    "c": 0.10657,
    "h": 157.2
  },
  "luminance": 0.14292
}

Semantic roles & 50–950 ramp

primary
#21784D
secondary
#AB4A7A
accent
#4893E0
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #21784D

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

Preview Lab → · Contrast checker → · Palette generator →

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