#21845B#21845B

#21845B is a mid, moderate teal. Relative luminance 0.176; OKLCH L 54.7% C 0.110 H 160.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#21845B
RGBrgb(33, 132, 91)
HSLhsl(155, 60%, 32%)
HSVhsv(155, 75%, 52%)
CMYKcmyk(75%, 0%, 31.1%, 48.2%)
CIE-LABlab(48.98, -38.18, 14.27)
CIE-LCHlch(48.98, 40.76, 159.51°)
OKLaboklab(54.69% -0.1041 0.0362)
OKLCHoklch(54.69% 0.11 160.8)
XYZxyz(10.7657, 17.5799, 12.7214)
Luminance0.1758 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21845B #84214A
analogous
#21842A #21845B #217B84
triadic
#21845B #5B2184 #845B21
tetradic
#21845B #2A2184 #84214A #7B8421
square
#21845B #2A2184 #84214A #7B8421
split-complementary
#21845B #84217B #842A21
monochromatic
#092217 #155339 #21845B #2DB57D #4DD29B

Accessibility & contrast

On white

4.65
#21845B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#21845B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #21845B
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21845B#FFFFFF#000000##FFFFFF
##21845B1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827A59
Deuteranopia (green-blind)
#76715E
Tritanopia (blue-blind)
#008479
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21845b;
/* rgb */ color: rgb(33, 132, 91);
/* oklch */ color: oklch(54.7% 0.110 160.8);
Tailwind
colors: {
  custom: {
    50: '#6ca889',
    500: '#21845b',
    950: '#000000',
  },
}
SCSS
$custom: #21845b;
$custom-light: #6ca889;
$custom-dark: #000000;
JSON
{
  "hex": "#21845b",
  "rgb": {
    "r": 33,
    "g": 132,
    "b": 91
  },
  "hsl": {
    "h": 155.152,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54694,
    "c": 0.1102,
    "h": 160.8
  },
  "luminance": 0.17581
}

Semantic roles & 50–950 ramp

primary
#21845B
secondary
#B64B77
accent
#4586E3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100B
muted
#7A7F7C

Preview Lab

Preview with #21845B

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

Preview Lab → · Contrast checker → · Palette generator →

#21845B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva