#21784F#21784F

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

Color values

HEX#21784F
RGBrgb(33, 120, 79)
HSLhsl(152, 57%, 30%)
HSVhsv(152, 73%, 47%)
CMYKcmyk(72.5%, 0%, 34.2%, 52.9%)
CIE-LABlab(44.69, -35.78, 15.32)
CIE-LCHlch(44.69, 38.92, 156.83°)
OKLaboklab(51.08% -0.0972 0.0387)
OKLCHoklch(51.08% 0.105 158.3)
XYZxyz(8.7541, 14.3198, 9.6983)
Luminance0.1432 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21784F #78214A
analogous
#217823 #21784F #217678
triadic
#21784F #4F2178 #784F21
tetradic
#21784F #232178 #78214A #767821
square
#21784F #232178 #78214A #767821
split-complementary
#21784F #782176 #782321
monochromatic
#071810 #14482F #21784F #2EA86F #47CC8E

Accessibility & contrast

On white

5.43
#21784F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21784F
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21784F#FFFFFF#000000##FFFFFF
##21784F1.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21784f;
/* rgb */ color: rgb(33, 120, 79);
/* oklch */ color: oklch(51.1% 0.105 158.3);
Tailwind
colors: {
  custom: {
    50: '#69a080',
    500: '#21784f',
    950: '#000000',
  },
}
SCSS
$custom: #21784f;
$custom-light: #69a080;
$custom-dark: #000000;
JSON
{
  "hex": "#21784f",
  "rgb": {
    "r": 33,
    "g": 120,
    "b": 79
  },
  "hsl": {
    "h": 151.724,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.5108,
    "c": 0.10462,
    "h": 158.3
  },
  "luminance": 0.14321
}

Semantic roles & 50–950 ramp

primary
#21784F
secondary
#AB4A78
accent
#4890E0
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070F0A
muted
#7A7E7C

Preview Lab

Preview with #21784F

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

Preview Lab → · Contrast checker → · Palette generator →

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