#0C170D#0C170D

#0C170D is a very dark, muted green. Relative luminance 0.007; OKLCH L 19.0% C 0.026 H 146.7°. Best body text is #FFFFFF at 18.36:1 contrast (WCAG AA passes).

Color values

HEX#0C170D
RGBrgb(12, 23, 13)
HSLhsl(125, 31%, 7%)
HSVhsv(125, 48%, 9%)
CMYKcmyk(47.8%, 0%, 43.5%, 91%)
CIE-LABlab(6.50, -6.30, 4.18)
CIE-LCHlch(6.50, 7.56, 146.42°)
OKLaboklab(19.03% -0.0214 0.0141)
OKLCHoklch(19.03% 0.026 146.7)
XYZxyz(0.5306, 0.7200, 0.4917)
Luminance0.0072 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C170D #170C16
analogous
#11170C #0C170D #0C1713
triadic
#0C170D #0D0C17 #170D0C
tetradic
#0C170D #0C1117 #170C16 #17130C
square
#0C170D #0C1117 #170C16 #17130C
split-complementary
#0C170D #130C17 #170C11
monochromatic
#0A140B #0A140B #0C170D #213F24 #36673A

Accessibility & contrast

On white

18.36
#0C170D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C170D
18.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C170D#FFFFFF#000000##FFFFFF
##0C170D1.0018.361.1418.36
#FFFFFF18.361.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17150C
Deuteranopia (green-blind)
#16140E
Tritanopia (blue-blind)
#0B1614
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0c170d;
/* rgb */ color: rgb(12, 23, 13);
/* oklch */ color: oklch(19.0% 0.026 146.7);
Tailwind
colors: {
  custom: {
    50: '#4c534c',
    500: '#0c170d',
    950: '#000000',
  },
}
SCSS
$custom: #0c170d;
$custom-light: #4c534c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c170d",
  "rgb": {
    "r": 12,
    "g": 23,
    "b": 13
  },
  "hsl": {
    "h": 125.455,
    "s": 31.429,
    "l": 6.863
  },
  "oklch": {
    "l": 0.19033,
    "c": 0.02565,
    "h": 146.7
  },
  "luminance": 0.0072
}

Semantic roles & 50–950 ramp

primary
#0C170D
secondary
#4D314B
accent
#60BEC8
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010201
muted
#777877

Preview Lab

Preview with #0C170D

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

Preview Lab → · Contrast checker → · Palette generator →

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