#21845E#21845E

#21845E is a mid, moderate teal. Relative luminance 0.176; OKLCH L 54.8% C 0.107 H 162.6°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#21845E
RGBrgb(33, 132, 94)
HSLhsl(157, 60%, 32%)
HSVhsv(157, 75%, 52%)
CMYKcmyk(75%, 0%, 28.8%, 48.2%)
CIE-LABlab(49.05, -37.47, 12.63)
CIE-LCHlch(49.05, 39.54, 161.38°)
OKLaboklab(54.77% -0.1026 0.0322)
OKLCHoklch(54.77% 0.107 162.6)
XYZxyz(10.8977, 17.6327, 13.4166)
Luminance0.1763 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21845E #842147
analogous
#21842D #21845E #217884
triadic
#21845E #5E2184 #845E21
tetradic
#21845E #2D2184 #842147 #788421
square
#21845E #2D2184 #842147 #788421
split-complementary
#21845E #842178 #842D21
monochromatic
#092218 #15533B #21845E #2DB581 #4DD29F

Accessibility & contrast

On white

4.64
#21845E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#21845E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #21845E
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21845E#FFFFFF#000000##FFFFFF
##21845E1.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827A5C
Deuteranopia (green-blind)
#757160
Tritanopia (blue-blind)
#00847A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #21845e;
/* rgb */ color: rgb(33, 132, 94);
/* oklch */ color: oklch(54.8% 0.107 162.6);
Tailwind
colors: {
  custom: {
    50: '#6ca88b',
    500: '#21845e',
    950: '#000000',
  },
}
SCSS
$custom: #21845e;
$custom-light: #6ca88b;
$custom-dark: #000000;
JSON
{
  "hex": "#21845e",
  "rgb": {
    "r": 33,
    "g": 132,
    "b": 94
  },
  "hsl": {
    "h": 156.97,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54769,
    "c": 0.10748,
    "h": 162.6
  },
  "luminance": 0.17634
}

Semantic roles & 50–950 ramp

primary
#21845E
secondary
#B64B74
accent
#4581E3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #21845E

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

Preview Lab → · Contrast checker → · Palette generator →

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