#0C100C#0C100C

#0C100C is a very dark, near-neutral green. Relative luminance 0.005; OKLCH L 16.7% C 0.010 H 145.1°. Best body text is #FFFFFF at 19.18:1 contrast (WCAG AA passes).

Color values

HEX#0C100C
RGBrgb(12, 16, 12)
HSLhsl(120, 14%, 5%)
HSVhsv(120, 25%, 6%)
CMYKcmyk(25%, 0%, 25%, 93.7%)
CIE-LABlab(4.29, -1.99, 1.42)
CIE-LCHlch(4.29, 2.44, 144.41°)
OKLaboklab(16.7% -0.0085 0.006)
OKLCHoklch(16.7% 0.01 145.1)
XYZxyz(0.4033, 0.4753, 0.4182)
Luminance0.0047 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C100C #100C10
analogous
#0E100C #0C100C #0C100E
triadic
#0C100C #0C0C10 #100C0C
tetradic
#0C100C #0C0E10 #100C10 #100E0C
square
#0C100C #0C0E10 #100C10 #100E0C
split-complementary
#0C100C #0E0C10 #100C0E
monochromatic
#0D110D #0D110D #0D110D #263326 #405640

Accessibility & contrast

On white

19.18
#0C100C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#0C100C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C100C
19.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C100C#FFFFFF#000000##FFFFFF
##0C100C1.0019.181.1019.18
#FFFFFF19.181.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#100F0C
Deuteranopia (green-blind)
#0F0F0C
Tritanopia (blue-blind)
#0C100F
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0c100c;
/* rgb */ color: rgb(12, 16, 12);
/* oklch */ color: oklch(16.7% 0.010 145.1);
Tailwind
colors: {
  custom: {
    50: '#4c4e4c',
    500: '#0c100c',
    950: '#000000',
  },
}
SCSS
$custom: #0c100c;
$custom-light: #4c4e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c100c",
  "rgb": {
    "r": 12,
    "g": 16,
    "b": 12
  },
  "hsl": {
    "h": 120,
    "s": 14.286,
    "l": 5.49
  },
  "oklch": {
    "l": 0.167,
    "c": 0.01042,
    "h": 145.1
  },
  "luminance": 0.00475
}

Semantic roles & 50–950 ramp

primary
#0C100C
secondary
#423642
accent
#71B7B7
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010101
muted
#777777

Preview Lab

Preview with #0C100C

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

Preview Lab → · Contrast checker → · Palette generator →

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