#0C2018#0C2018

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

Color values

HEX#0C2018
RGBrgb(12, 32, 24)
HSLhsl(156, 45%, 9%)
HSVhsv(156, 63%, 13%)
CMYKcmyk(62.5%, 0%, 25%, 87.5%)
CIE-LABlab(10.39, -10.65, 2.96)
CIE-LCHlch(10.39, 11.06, 164.46°)
OKLaboklab(22.37% -0.0298 0.0076)
OKLCHoklch(22.37% 0.031 165.7)
XYZxyz(0.8329, 1.1771, 1.0473)
Luminance0.0118 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2018 #200C14
analogous
#0C200E #0C2018 #0C1E20
triadic
#0C2018 #180C20 #20180C
tetradic
#0C2018 #0E0C20 #200C14 #1E200C
square
#0C2018 #0E0C20 #200C14 #1E200C
split-complementary
#0C2018 #200C1E #200E0C
monochromatic
#081611 #081611 #0C2018 #1D4D39 #2D795B

Accessibility & contrast

On white

17.00
#0C2018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2018
17.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2018#FFFFFF#000000##FFFFFF
##0C20181.0017.001.2417.00
#FFFFFF17.001.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF17.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F1E18
Deuteranopia (green-blind)
#1C1B19
Tritanopia (blue-blind)
#06201E
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0c2018;
/* rgb */ color: rgb(12, 32, 24);
/* oklch */ color: oklch(22.4% 0.031 165.7);
Tailwind
colors: {
  custom: {
    50: '#4c5b54',
    500: '#0c2018',
    950: '#000000',
  },
}
SCSS
$custom: #0c2018;
$custom-light: #4c5b54;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2018",
  "rgb": {
    "r": 12,
    "g": 32,
    "b": 24
  },
  "hsl": {
    "h": 156,
    "s": 45.455,
    "l": 8.627
  },
  "oklch": {
    "l": 0.22366,
    "c": 0.03073,
    "h": 165.7
  },
  "luminance": 0.01177
}

Semantic roles & 50–950 ramp

primary
#0C2018
secondary
#5A2E40
accent
#5387D5
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010402
muted
#777978

Preview Lab

Preview with #0C2018

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

Preview Lab → · Contrast checker → · Palette generator →

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