#21754C#21754C

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

Color values

HEX#21754C
RGBrgb(33, 117, 76)
HSLhsl(151, 56%, 29%)
HSVhsv(151, 72%, 46%)
CMYKcmyk(71.8%, 0%, 35%, 54.1%)
CIE-LABlab(43.61, -35.16, 15.59)
CIE-LCHlch(43.61, 38.46, 156.09°)
OKLaboklab(50.17% -0.0954 0.0393)
OKLCHoklch(50.17% 0.103 157.6)
XYZxyz(8.2922, 13.5668, 9.0177)
Luminance0.1357 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21754C #75214A
analogous
#217522 #21754C #217475
triadic
#21754C #4C2175 #754C21
tetradic
#21754C #222175 #75214A #747521
square
#21754C #222175 #75214A #747521
split-complementary
#21754C #752174 #752221
monochromatic
#071810 #14452D #21754C #2EA56B #46CB8A

Accessibility & contrast

On white

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

On black

3.71
#21754C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##21754C#FFFFFF#000000##FFFFFF
##21754C1.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746C49
Deuteranopia (green-blind)
#69644F
Tritanopia (blue-blind)
#00746A
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #21754c;
/* rgb */ color: rgb(33, 117, 76);
/* oklch */ color: oklch(50.2% 0.103 157.6);
Tailwind
colors: {
  custom: {
    50: '#689d7e',
    500: '#21754c',
    950: '#000000',
  },
}
SCSS
$custom: #21754c;
$custom-light: #689d7e;
$custom-dark: #000000;
JSON
{
  "hex": "#21754c",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 76
  },
  "hsl": {
    "h": 150.714,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.5017,
    "c": 0.10321,
    "h": 157.6
  },
  "luminance": 0.13568
}

Semantic roles & 50–950 ramp

primary
#21754C
secondary
#A84A78
accent
#4992DF
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #21754C

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

Preview Lab → · Contrast checker → · Palette generator →

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