#21754F#21754F

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

Color values

HEX#21754F
RGBrgb(33, 117, 79)
HSLhsl(153, 56%, 29%)
HSVhsv(153, 72%, 46%)
CMYKcmyk(71.8%, 0%, 32.5%, 54.1%)
CIE-LABlab(43.67, -34.48, 13.92)
CIE-LCHlch(43.67, 37.19, 158.01°)
OKLaboklab(50.24% -0.0939 0.0353)
OKLCHoklch(50.24% 0.1 159.4)
XYZxyz(8.3989, 13.6095, 9.5799)
Luminance0.1361 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21754F #752147
analogous
#217525 #21754F #217175
triadic
#21754F #4F2175 #754F21
tetradic
#21754F #252175 #752147 #717521
square
#21754F #252175 #752147 #717521
split-complementary
#21754F #752171 #752521
monochromatic
#071810 #14452F #21754F #2EA56F #46CB8F

Accessibility & contrast

On white

5.64
#21754F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #21754F
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21754F#FFFFFF#000000##FFFFFF
##21754F1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21754f;
/* rgb */ color: rgb(33, 117, 79);
/* oklch */ color: oklch(50.2% 0.100 159.4);
Tailwind
colors: {
  custom: {
    50: '#689d80',
    500: '#21754f',
    950: '#000000',
  },
}
SCSS
$custom: #21754f;
$custom-light: #689d80;
$custom-dark: #000000;
JSON
{
  "hex": "#21754f",
  "rgb": {
    "r": 33,
    "g": 117,
    "b": 79
  },
  "hsl": {
    "h": 152.857,
    "s": 56,
    "l": 29.412
  },
  "oklch": {
    "l": 0.50241,
    "c": 0.1003,
    "h": 159.4
  },
  "luminance": 0.1361
}

Semantic roles & 50–950 ramp

primary
#21754F
secondary
#A84A74
accent
#498DDF
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E0A
muted
#7A7E7C

Preview Lab

Preview with #21754F

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

Preview Lab → · Contrast checker → · Palette generator →

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