#021C12#021C12

#021C12 is a very dark, muted teal. Relative luminance 0.009; OKLCH L 20.2% C 0.039 H 165.1°. Best body text is #FFFFFF at 17.84:1 contrast (WCAG AA passes).

Color values

HEX#021C12
RGBrgb(2, 28, 18)
HSLhsl(157, 87%, 6%)
HSVhsv(157, 93%, 11%)
CMYKcmyk(92.9%, 0%, 35.7%, 89%)
CIE-LABlab(8.01, -12.03, 3.60)
CIE-LCHlch(8.01, 12.56, 163.36°)
OKLaboklab(20.22% -0.0379 0.0101)
OKLCHoklch(20.22% 0.039 165.1)
XYZxyz(0.5494, 0.8870, 0.7144)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#021C12 #1C020C
analogous
#021C05 #021C12 #02191C
triadic
#021C12 #12021C #1C1202
tetradic
#021C12 #05021C #1C020C #191C02
square
#021C12 #05021C #1C020C #191C02
split-complementary
#021C12 #1C0219 #1C0502
monochromatic
#021D12 #021D12 #021D12 #065537 #0A8E5B

Accessibility & contrast

On white

17.84
#021C12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #021C12
17.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##021C12#FFFFFF#000000##FFFFFF
##021C121.0017.841.1817.84
#FFFFFF17.841.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1911
Deuteranopia (green-blind)
#171613
Tritanopia (blue-blind)
#001C19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #021c12;
/* rgb */ color: rgb(2, 28, 18);
/* oklch */ color: oklch(20.2% 0.039 165.1);
Tailwind
colors: {
  custom: {
    50: '#47584f',
    500: '#021c12',
    950: '#000000',
  },
}
SCSS
$custom: #021c12;
$custom-light: #47584f;
$custom-dark: #000000;
JSON
{
  "hex": "#021c12",
  "rgb": {
    "r": 2,
    "g": 28,
    "b": 18
  },
  "hsl": {
    "h": 156.923,
    "s": 86.667,
    "l": 5.882
  },
  "oklch": {
    "l": 0.20218,
    "c": 0.0392,
    "h": 165.1
  },
  "luminance": 0.00887
}

Semantic roles & 50–950 ramp

primary
#021C12
secondary
#621834
accent
#2B7CFD
background
#F4F5F4
surface
#E6E9E7
border
#C2C5C3
text
#000302
muted
#777878

Preview Lab

Preview with #021C12

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

Preview Lab → · Contrast checker → · Palette generator →

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