#0C170E#0C170E

#0C170E is a very dark, muted green. Relative luminance 0.007; OKLCH L 19.1% C 0.024 H 149.4°. Best body text is #FFFFFF at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#0C170E
RGBrgb(12, 23, 14)
HSLhsl(131, 31%, 7%)
HSVhsv(131, 48%, 9%)
CMYKcmyk(47.8%, 0%, 39.1%, 91%)
CIE-LABlab(6.53, -6.12, 3.72)
CIE-LCHlch(6.53, 7.17, 148.71°)
OKLaboklab(19.06% -0.0208 0.0123)
OKLCHoklch(19.06% 0.024 149.4)
XYZxyz(0.5373, 0.7226, 0.5266)
Luminance0.0072 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C170E #170C15
analogous
#10170C #0C170E #0C1714
triadic
#0C170E #0E0C17 #170E0C
tetradic
#0C170E #0C1017 #170C15 #17140C
square
#0C170E #0C1017 #170C15 #17140C
split-complementary
#0C170E #140C17 #170C10
monochromatic
#0A140C #0A140C #0C170E #213F26 #36673F

Accessibility & contrast

On white

18.35
#0C170E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.14
#0C170E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C170E
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C170E#FFFFFF#000000##FFFFFF
##0C170E1.0018.351.1418.35
#FFFFFF18.351.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17150D
Deuteranopia (green-blind)
#15140E
Tritanopia (blue-blind)
#0A1715
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0c170e;
/* rgb */ color: rgb(12, 23, 14);
/* oklch */ color: oklch(19.1% 0.024 149.4);
Tailwind
colors: {
  custom: {
    50: '#4c534d',
    500: '#0c170e',
    950: '#000000',
  },
}
SCSS
$custom: #0c170e;
$custom-light: #4c534d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c170e",
  "rgb": {
    "r": 12,
    "g": 23,
    "b": 14
  },
  "hsl": {
    "h": 130.909,
    "s": 31.429,
    "l": 6.863
  },
  "oklch": {
    "l": 0.19064,
    "c": 0.02419,
    "h": 149.4
  },
  "luminance": 0.00723
}

Semantic roles & 50–950 ramp

primary
#0C170E
secondary
#4D3148
accent
#60B5C8
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010201
muted
#777877

Preview Lab

Preview with #0C170E

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

Preview Lab → · Contrast checker → · Palette generator →

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