#021C16#021C16

#021C16 is a very dark, muted teal. Relative luminance 0.009; OKLCH L 20.4% C 0.035 H 175.4°. Best body text is #FFFFFF at 17.79:1 contrast (WCAG AA passes).

Color values

HEX#021C16
RGBrgb(2, 28, 22)
HSLhsl(166, 87%, 6%)
HSVhsv(166, 93%, 11%)
CMYKcmyk(92.9%, 0%, 21.4%, 89%)
CIE-LABlab(8.14, -11.12, 1.13)
CIE-LCHlch(8.14, 11.18, 174.18°)
OKLaboklab(20.36% -0.0353 0.0029)
OKLCHoklch(20.36% 0.035 175.4)
XYZxyz(0.5850, 0.9013, 0.9020)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C16 #1C0208
analogous
#021C09 #021C16 #02151C
triadic
#021C16 #16021C #1C1602
tetradic
#021C16 #09021C #1C0208 #151C02
square
#021C16 #09021C #1C0208 #151C02
split-complementary
#021C16 #1C0215 #1C0902
monochromatic
#021D16 #021D16 #021D16 #065543 #0A8E70

Accessibility & contrast

On white

17.79
#021C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#021C16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #021C16
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C16#FFFFFF#000000##FFFFFF
##021C161.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1916
Deuteranopia (green-blind)
#171716
Tritanopia (blue-blind)
#001C1A
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #021c16;
/* rgb */ color: rgb(2, 28, 22);
/* oklch */ color: oklch(20.4% 0.035 175.4);
Tailwind
colors: {
  custom: {
    50: '#475852',
    500: '#021c16',
    950: '#000000',
  },
}
SCSS
$custom: #021c16;
$custom-light: #475852;
$custom-dark: #000000;
JSON
{
  "hex": "#021c16",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 22
  },
  "hsl": {
    "h": 166.154,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.20365,
    "c": 0.03539,
    "h": 175.4
  },
  "luminance": 0.00901
}

Semantic roles & 50–950 ramp

primary
#021C16
secondary
#621829
accent
#2B5BFD
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000302
muted
#777878

Preview Lab

Preview with #021C16

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

Preview Lab → · Contrast checker → · Palette generator →

#021C16 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva