#21754D#21754D

#21754D is a mid, moderate teal. Relative luminance 0.136; OKLCH L 50.2% C 0.102 H 158.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#21754D
RGBrgb(33, 117, 77)
HSLhsl(151, 56%, 29%)
HSVhsv(151, 72%, 46%)
CMYKcmyk(71.8%, 0%, 34.2%, 54.1%)
CIE-LABlab(43.63, -34.94, 15.03)
CIE-LCHlch(43.63, 38.03, 156.72°)
OKLaboklab(50.19% -0.0949 0.038)
OKLCHoklch(50.19% 0.102 158.2)
XYZxyz(8.3272, 13.5808, 9.2022)
Luminance0.1358 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21754D #752149
analogous
#217523 #21754D #217375
triadic
#21754D #4D2175 #754D21
tetradic
#21754D #232175 #752149 #737521
square
#21754D #232175 #752149 #737521
split-complementary
#21754D #752173 #752321
monochromatic
#071810 #14452E #21754D #2EA56C #46CB8B

Accessibility & contrast

On white

5.65
#21754D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#21754D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #21754D
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21754D#FFFFFF#000000##FFFFFF
##21754D1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746C4B
Deuteranopia (green-blind)
#696450
Tritanopia (blue-blind)
#00746B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #21754d;
/* rgb */ color: rgb(33, 117, 77);
/* oklch */ color: oklch(50.2% 0.102 158.2);
Tailwind
colors: {
  custom: {
    50: '#689d7f',
    500: '#21754d',
    950: '#000000',
  },
}
SCSS
$custom: #21754d;
$custom-light: #689d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#21754d",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 77
  },
  "hsl": {
    "h": 151.429,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50193,
    "c": 0.10224,
    "h": 158.2
  },
  "luminance": 0.13582
}

Semantic roles & 50–950 ramp

primary
#21754D
secondary
#A84A77
accent
#4990DF
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #21754D

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

Preview Lab → · Contrast checker → · Palette generator →

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