#0C2017#0C2017

#0C2017 is a very dark, muted teal. Relative luminance 0.012; OKLCH L 22.3% C 0.032 H 162.9°. Best body text is #FFFFFF at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#0C2017
RGBrgb(12, 32, 23)
HSLhsl(153, 45%, 9%)
HSVhsv(153, 63%, 13%)
CMYKcmyk(62.5%, 0%, 28.1%, 87.5%)
CIE-LABlab(10.36, -10.94, 3.65)
CIE-LCHlch(10.36, 11.53, 161.55°)
OKLaboklab(22.33% -0.0304 0.0094)
OKLCHoklch(22.33% 0.032 162.9)
XYZxyz(0.8227, 1.1730, 0.9935)
Luminance0.0117 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2017 #200C15
analogous
#0C200D #0C2017 #0C1F20
triadic
#0C2017 #170C20 #20170C
tetradic
#0C2017 #0D0C20 #200C15 #1F200C
square
#0C2017 #0D0C20 #200C15 #1F200C
split-complementary
#0C2017 #200C1F #200D0C
monochromatic
#081610 #081610 #0C2017 #1D4D37 #2D7957

Accessibility & contrast

On white

17.01
#0C2017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0C2017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2017
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2017#FFFFFF#000000##FFFFFF
##0C20171.0017.011.2317.01
#FFFFFF17.011.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1D17
Deuteranopia (green-blind)
#1C1B18
Tritanopia (blue-blind)
#07201D
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0c2017;
/* rgb */ color: rgb(12, 32, 23);
/* oklch */ color: oklch(22.3% 0.032 162.9);
Tailwind
colors: {
  custom: {
    50: '#4c5b53',
    500: '#0c2017',
    950: '#000000',
  },
}
SCSS
$custom: #0c2017;
$custom-light: #4c5b53;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2017",
  "rgb": {
    "r": 12,
    "g": 32,
    "b": 23
  },
  "hsl": {
    "h": 153,
    "s": 45.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.22331,
    "c": 0.0318,
    "h": 162.9
  },
  "luminance": 0.01173
}

Semantic roles & 50–950 ramp

primary
#0C2017
secondary
#5A2E42
accent
#538DD5
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010402
muted
#777978

Preview Lab

Preview with #0C2017

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

Preview Lab → · Contrast checker → · Palette generator →

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