#0C170F#0C170F

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

Color values

HEX#0C170F
RGBrgb(12, 23, 15)
HSLhsl(136, 31%, 7%)
HSVhsv(136, 48%, 9%)
CMYKcmyk(47.8%, 0%, 34.8%, 91%)
CIE-LABlab(6.55, -5.95, 3.24)
CIE-LCHlch(6.55, 6.78, 151.42°)
OKLaboklab(19.1% -0.0202 0.0106)
OKLCHoklch(19.1% 0.023 152.4)
XYZxyz(0.5442, 0.7254, 0.5632)
Luminance0.0073 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C170F #170C14
analogous
#0F170C #0C170F #0C1715
triadic
#0C170F #0F0C17 #170F0C
tetradic
#0C170F #0C0F17 #170C14 #17150C
square
#0C170F #0C0F17 #170C14 #17150C
split-complementary
#0C170F #150C17 #170C0F
monochromatic
#0A140D #0A140D #0C170F #213F29 #366743

Accessibility & contrast

On white

18.34
#0C170F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#0C170F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C170F
18.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C170F#FFFFFF#000000##FFFFFF
##0C170F1.0018.341.1518.34
#FFFFFF18.341.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17150F
Deuteranopia (green-blind)
#15140F
Tritanopia (blue-blind)
#0A1715
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #0c170f;
/* rgb */ color: rgb(12, 23, 15);
/* oklch */ color: oklch(19.1% 0.023 152.4);
Tailwind
colors: {
  custom: {
    50: '#4c534e',
    500: '#0c170f',
    950: '#000000',
  },
}
SCSS
$custom: #0c170f;
$custom-light: #4c534e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c170f",
  "rgb": {
    "r": 12,
    "g": 23,
    "b": 15
  },
  "hsl": {
    "h": 136.364,
    "s": 31.429,
    "l": 6.863
  },
  "oklch": {
    "l": 0.19096,
    "c": 0.02278,
    "h": 152.4
  },
  "luminance": 0.00725
}

Semantic roles & 50–950 ramp

primary
#0C170F
secondary
#4D3146
accent
#60ABC8
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010201
muted
#777877

Preview Lab

Preview with #0C170F

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

Preview Lab → · Contrast checker → · Palette generator →

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