#21845F#21845F

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

Color values

HEX#21845F
RGBrgb(33, 132, 95)
HSLhsl(158, 60%, 32%)
HSVhsv(158, 75%, 52%)
CMYKcmyk(75%, 0%, 28%, 48.2%)
CIE-LABlab(49.07, -37.23, 12.08)
CIE-LCHlch(49.07, 39.15, 162.02°)
OKLaboklab(54.79% -0.102 0.0308)
OKLCHoklch(54.79% 0.107 163.2)
XYZxyz(10.9428, 17.6508, 13.6545)
Luminance0.1765 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21845F #842146
analogous
#21842E #21845F #217784
triadic
#21845F #5F2184 #845F21
tetradic
#21845F #2E2184 #842146 #778421
square
#21845F #2E2184 #842146 #778421
split-complementary
#21845F #842177 #842E21
monochromatic
#092219 #15533C #21845F #2DB582 #4DD2A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21845F#FFFFFF#000000##FFFFFF
##21845F1.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)
#827A5D
Deuteranopia (green-blind)
#757161
Tritanopia (blue-blind)
#00847A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #21845f;
/* rgb */ color: rgb(33, 132, 95);
/* oklch */ color: oklch(54.8% 0.107 163.2);
Tailwind
colors: {
  custom: {
    50: '#6ca88c',
    500: '#21845f',
    950: '#000000',
  },
}
SCSS
$custom: #21845f;
$custom-light: #6ca88c;
$custom-dark: #000000;
JSON
{
  "hex": "#21845f",
  "rgb": {
    "r": 33,
    "g": 132,
    "b": 95
  },
  "hsl": {
    "h": 157.576,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.54794,
    "c": 0.10659,
    "h": 163.2
  },
  "luminance": 0.17652
}

Semantic roles & 50–950 ramp

primary
#21845F
secondary
#B64B73
accent
#4580E3
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #21845F

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

Preview Lab → · Contrast checker → · Palette generator →

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