#21754E#21754E

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

Color values

HEX#21754E
RGBrgb(33, 117, 78)
HSLhsl(152, 56%, 29%)
HSVhsv(152, 72%, 46%)
CMYKcmyk(71.8%, 0%, 33.3%, 54.1%)
CIE-LABlab(43.65, -34.71, 14.48)
CIE-LCHlch(43.65, 37.61, 157.36°)
OKLaboklab(50.22% -0.0944 0.0366)
OKLCHoklch(50.22% 0.101 158.8)
XYZxyz(8.3628, 13.5950, 9.3896)
Luminance0.1360 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21754E #752148
analogous
#217524 #21754E #217275
triadic
#21754E #4E2175 #754E21
tetradic
#21754E #242175 #752148 #727521
square
#21754E #242175 #752148 #727521
split-complementary
#21754E #752172 #752421
monochromatic
#071810 #14452E #21754E #2EA56E #46CB8D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21754E#FFFFFF#000000##FFFFFF
##21754E1.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)
#746C4C
Deuteranopia (green-blind)
#696451
Tritanopia (blue-blind)
#00746B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #21754e;
/* rgb */ color: rgb(33, 117, 78);
/* oklch */ color: oklch(50.2% 0.101 158.8);
Tailwind
colors: {
  custom: {
    50: '#689d7f',
    500: '#21754e',
    950: '#000000',
  },
}
SCSS
$custom: #21754e;
$custom-light: #689d7f;
$custom-dark: #000000;
JSON
{
  "hex": "#21754e",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 78
  },
  "hsl": {
    "h": 152.143,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50217,
    "c": 0.10126,
    "h": 158.8
  },
  "luminance": 0.13596
}

Semantic roles & 50–950 ramp

primary
#21754E
secondary
#A84A76
accent
#498FDF
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #21754E

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

Preview Lab → · Contrast checker → · Palette generator →

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