#0C170A#0C170A

#0C170A is a very dark, muted green. Relative luminance 0.007; OKLCH L 18.9% C 0.030 H 140.7°. Best body text is #FFFFFF at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#0C170A
RGBrgb(12, 23, 10)
HSLhsl(111, 39%, 6%)
HSVhsv(111, 57%, 9%)
CMYKcmyk(47.8%, 0%, 56.5%, 91%)
CIE-LABlab(6.44, -6.75, 5.41)
CIE-LCHlch(6.44, 8.65, 141.26°)
OKLaboklab(18.95% -0.0233 0.0191)
OKLCHoklch(18.95% 0.03 140.7)
XYZxyz(0.5128, 0.7128, 0.3977)
Luminance0.0071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C170A #150A17
analogous
#13170A #0C170A #0A170F
triadic
#0C170A #0A0C17 #170A0C
tetradic
#0C170A #0A1317 #150A17 #170F0A
square
#0C170A #0A1317 #150A17 #170F0A
split-complementary
#0C170A #0F0A17 #170A13
monochromatic
#0B1509 #0B1509 #0C170A #22421D #396C2F

Accessibility & contrast

On white

18.38
#0C170A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C170A
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C170A#FFFFFF#000000##FFFFFF
##0C170A1.0018.381.1418.38
#FFFFFF18.381.0021.001.00
#0000001.1421.001.0021.00
##FFFFFF18.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#181509
Deuteranopia (green-blind)
#16140B
Tritanopia (blue-blind)
#0B1614
Achromatopsia (no color)
#141414

Design tokens & code

CSS
--color: #0c170a;
/* rgb */ color: rgb(12, 23, 10);
/* oklch */ color: oklch(18.9% 0.030 140.7);
Tailwind
colors: {
  custom: {
    50: '#4c534b',
    500: '#0c170a',
    950: '#000000',
  },
}
SCSS
$custom: #0c170a;
$custom-light: #4c534b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c170a",
  "rgb": {
    "r": 12,
    "g": 23,
    "b": 10
  },
  "hsl": {
    "h": 110.769,
    "s": 39.394,
    "l": 6.471
  },
  "oklch": {
    "l": 0.18948,
    "c": 0.03011,
    "h": 140.7
  },
  "luminance": 0.00713
}

Semantic roles & 50–950 ramp

primary
#0C170A
secondary
#4A2D50
accent
#59CFBD
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010201
muted
#777877

Preview Lab

Preview with #0C170A

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

Preview Lab → · Contrast checker → · Palette generator →

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