#21845C#21845C

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

Color values

HEX#21845C
RGBrgb(33, 132, 92)
HSLhsl(156, 60%, 32%)
HSVhsv(156, 75%, 52%)
CMYKcmyk(75%, 0%, 30.3%, 48.2%)
CIE-LABlab(49.00, -37.95, 13.72)
CIE-LCHlch(49.00, 40.35, 160.12°)
OKLaboklab(54.72% -0.1036 0.0349)
OKLCHoklch(54.72% 0.109 161.4)
XYZxyz(10.8091, 17.5973, 12.9501)
Luminance0.1760 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21845C #842149
analogous
#21842B #21845C #217A84
triadic
#21845C #5C2184 #845C21
tetradic
#21845C #2B2184 #842149 #7A8421
square
#21845C #2B2184 #842149 #7A8421
split-complementary
#21845C #84217A #842B21
monochromatic
#092218 #15533A #21845C #2DB57E #4DD29D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21845C#FFFFFF#000000##FFFFFF
##21845C1.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)
#827A5A
Deuteranopia (green-blind)
#76715F
Tritanopia (blue-blind)
#008479
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21845c;
/* rgb */ color: rgb(33, 132, 92);
/* oklch */ color: oklch(54.7% 0.109 161.4);
Tailwind
colors: {
  custom: {
    50: '#6ca88a',
    500: '#21845c',
    950: '#000000',
  },
}
SCSS
$custom: #21845c;
$custom-light: #6ca88a;
$custom-dark: #000000;
JSON
{
  "hex": "#21845c",
  "rgb": {
    "r": 33,
    "g": 132,
    "b": 92
  },
  "hsl": {
    "h": 155.758,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54719,
    "c": 0.10928,
    "h": 161.4
  },
  "luminance": 0.17599
}

Semantic roles & 50–950 ramp

primary
#21845C
secondary
#B64B76
accent
#4585E3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100B
muted
#7A7F7C

Preview Lab

Preview with #21845C

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

Preview Lab → · Contrast checker → · Palette generator →

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