#0C120A#0C120A

#0C120A is a very dark, near-neutral green. Relative luminance 0.005; OKLCH L 17.3% C 0.019 H 138.0°. Best body text is #FFFFFF at 18.98:1 contrast (WCAG AA passes).

Color values

HEX#0C120A
RGBrgb(12, 18, 10)
HSLhsl(105, 29%, 5%)
HSVhsv(105, 44%, 7%)
CMYKcmyk(33.3%, 0%, 44.4%, 92.9%)
CIE-LABlab(4.81, -3.43, 3.04)
CIE-LCHlch(4.81, 4.58, 138.43°)
OKLaboklab(17.28% -0.0139 0.0125)
OKLCHoklch(17.28% 0.019 138)
XYZxyz(0.4227, 0.5327, 0.3676)
Luminance0.0053 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C120A #100A12
analogous
#10120A #0C120A #0A120C
triadic
#0C120A #0A0C12 #120A0C
tetradic
#0C120A #0A1012 #100A12 #120C0A
square
#0C120A #0A1012 #100A12 #120C0A
split-complementary
#0C120A #0C0A12 #120A10
monochromatic
#0D140B #0D140B #0D140B #263920 #406136

Accessibility & contrast

On white

18.98
#0C120A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#0C120A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C120A
18.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C120A#FFFFFF#000000##FFFFFF
##0C120A1.0018.981.1118.98
#FFFFFF18.981.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13110A
Deuteranopia (green-blind)
#12100A
Tritanopia (blue-blind)
#0C1110
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #0c120a;
/* rgb */ color: rgb(12, 18, 10);
/* oklch */ color: oklch(17.3% 0.019 138.0);
Tailwind
colors: {
  custom: {
    50: '#4c504b',
    500: '#0c120a',
    950: '#000000',
  },
}
SCSS
$custom: #0c120a;
$custom-light: #4c504b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c120a",
  "rgb": {
    "r": 12,
    "g": 18,
    "b": 10
  },
  "hsl": {
    "h": 105,
    "s": 28.571,
    "l": 5.49
  },
  "oklch": {
    "l": 0.17283,
    "c": 0.01865,
    "h": 138
  },
  "luminance": 0.00533
}

Semantic roles & 50–950 ramp

primary
#0C120A
secondary
#423048
accent
#63C5AC
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010201
muted
#777877

Preview Lab

Preview with #0C120A

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

Preview Lab → · Contrast checker → · Palette generator →

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