#21845A#21845A

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

Color values

HEX#21845A
RGBrgb(33, 132, 90)
HSLhsl(155, 60%, 32%)
HSVhsv(155, 75%, 52%)
CMYKcmyk(75%, 0%, 31.8%, 48.2%)
CIE-LABlab(48.96, -38.41, 14.81)
CIE-LCHlch(48.96, 41.16, 158.91°)
OKLaboklab(54.67% -0.1046 0.0376)
OKLCHoklch(54.67% 0.111 160.2)
XYZxyz(10.7228, 17.5628, 12.4957)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21845A #84214B
analogous
#218428 #21845A #217D84
triadic
#21845A #5A2184 #845A21
tetradic
#21845A #282184 #84214B #7D8421
square
#21845A #282184 #84214B #7D8421
split-complementary
#21845A #84217D #842821
monochromatic
#092217 #155339 #21845A #2DB57B #4DD29A

Accessibility & contrast

On white

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

On black

4.51
#21845A on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##21845A#FFFFFF#000000##FFFFFF
##21845A1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827A57
Deuteranopia (green-blind)
#76715D
Tritanopia (blue-blind)
#008379
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #21845a;
/* rgb */ color: rgb(33, 132, 90);
/* oklch */ color: oklch(54.7% 0.111 160.2);
Tailwind
colors: {
  custom: {
    50: '#6ca888',
    500: '#21845a',
    950: '#000000',
  },
}
SCSS
$custom: #21845a;
$custom-light: #6ca888;
$custom-dark: #000000;
JSON
{
  "hex": "#21845a",
  "rgb": {
    "r": 33,
    "g": 132,
    "b": 90
  },
  "hsl": {
    "h": 154.545,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.5467,
    "c": 0.11112,
    "h": 160.2
  },
  "luminance": 0.17564
}

Semantic roles & 50–950 ramp

primary
#21845A
secondary
#B64B78
accent
#4588E3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100B
muted
#7A7F7C

Preview Lab

Preview with #21845A

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

Preview Lab → · Contrast checker → · Palette generator →

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