#0C1918#0C1918

#0C1918 is a very dark, near-neutral teal. Relative luminance 0.008; OKLCH L 20.1% C 0.018 H 189.6°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#0C1918
RGBrgb(12, 25, 24)
HSLhsl(175, 35%, 7%)
HSVhsv(175, 52%, 10%)
CMYKcmyk(52%, 0%, 4%, 90.2%)
CIE-LABlab(7.58, -5.47, -1.10)
CIE-LCHlch(7.58, 5.58, 191.36°)
OKLaboklab(20.1% -0.0182 -0.0031)
OKLCHoklch(20.1% 0.018 189.6)
XYZxyz(0.6641, 0.8393, 0.9910)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1918 #190C0D
analogous
#0C1912 #0C1918 #0C1419
triadic
#0C1918 #180C19 #19180C
tetradic
#0C1918 #120C19 #190C0D #14190C
square
#0C1918 #120C19 #190C0D #14190C
split-complementary
#0C1918 #190C14 #19120C
monochromatic
#0A1514 #0A1514 #0C1918 #204240 #346C67

Accessibility & contrast

On white

17.98
#0C1918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#0C1918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1918
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1918#FFFFFF#000000##FFFFFF
##0C19181.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181818
Deuteranopia (green-blind)
#151618
Tritanopia (blue-blind)
#071A19
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #0c1918;
/* rgb */ color: rgb(12, 25, 24);
/* oklch */ color: oklch(20.1% 0.018 189.6);
Tailwind
colors: {
  custom: {
    50: '#4c5554',
    500: '#0c1918',
    950: '#000000',
  },
}
SCSS
$custom: #0c1918;
$custom-light: #4c5554;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1918",
  "rgb": {
    "r": 12,
    "g": 25,
    "b": 24
  },
  "hsl": {
    "h": 175.385,
    "s": 35.135,
    "l": 7.255
  },
  "oklch": {
    "l": 0.20098,
    "c": 0.01847,
    "h": 189.6
  },
  "luminance": 0.00839
}

Semantic roles & 50–950 ramp

primary
#0C1918
secondary
#503133
accent
#5D65CB
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010302
muted
#777878

Preview Lab

Preview with #0C1918

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

Preview Lab → · Contrast checker → · Palette generator →

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