#0C201A#0C201A

#0C201A is a very dark, muted teal. Relative luminance 0.012; OKLCH L 22.4% C 0.029 H 171.9°. Best body text is #FFFFFF at 16.97:1 contrast (WCAG AA passes).

Color values

HEX#0C201A
RGBrgb(12, 32, 26)
HSLhsl(162, 45%, 9%)
HSVhsv(162, 63%, 13%)
CMYKcmyk(62.5%, 0%, 18.8%, 87.5%)
CIE-LABlab(10.45, -10.05, 1.59)
CIE-LCHlch(10.45, 10.17, 171.03°)
OKLaboklab(22.44% -0.0285 0.004)
OKLCHoklch(22.44% 0.029 171.9)
XYZxyz(0.8545, 1.1857, 1.1609)
Luminance0.0119 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C201A #200C12
analogous
#0C2010 #0C201A #0C1C20
triadic
#0C201A #1A0C20 #201A0C
tetradic
#0C201A #100C20 #200C12 #1C200C
square
#0C201A #100C20 #200C12 #1C200C
split-complementary
#0C201A #200C1C #20100C
monochromatic
#081612 #081612 #0C201A #1D4D3E #2D7962

Accessibility & contrast

On white

16.97
#0C201A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#0C201A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C201A
16.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C201A#FFFFFF#000000##FFFFFF
##0C201A1.0016.971.2416.97
#FFFFFF16.971.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1E1A
Deuteranopia (green-blind)
#1C1B1A
Tritanopia (blue-blind)
#05201E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0c201a;
/* rgb */ color: rgb(12, 32, 26);
/* oklch */ color: oklch(22.4% 0.029 171.9);
Tailwind
colors: {
  custom: {
    50: '#4c5b56',
    500: '#0c201a',
    950: '#000000',
  },
}
SCSS
$custom: #0c201a;
$custom-light: #4c5b56;
$custom-dark: #000000;
JSON
{
  "hex": "#0c201a",
  "rgb": {
    "r": 12,
    "g": 32,
    "b": 26
  },
  "hsl": {
    "h": 162,
    "s": 45.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.22439,
    "c": 0.02883,
    "h": 171.9
  },
  "luminance": 0.01186
}

Semantic roles & 50–950 ramp

primary
#0C201A
secondary
#5A2E3B
accent
#537AD5
background
#F4F5F5
surface
#E7E9E9
border
#C3C5C5
text
#010403
muted
#777978

Preview Lab

Preview with #0C201A

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

Preview Lab → · Contrast checker → · Palette generator →

#0C201A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva