#0C1000#0C1000

#0C1000 is a very dark, muted yellow-green. Relative luminance 0.004; OKLCH L 16.3% C 0.038 H 119.5°. Best body text is #FFFFFF at 19.27:1 contrast (WCAG AA passes).

Color values

HEX#0C1000
RGBrgb(12, 16, 0)
HSLhsl(75, 100%, 3%)
HSVhsv(75, 100%, 6%)
CMYKcmyk(25%, 0%, 100%, 93.7%)
CIE-LABlab(4.05, -3.67, 6.00)
CIE-LCHlch(4.05, 7.04, 121.44°)
OKLaboklab(16.28% -0.0189 0.0335)
OKLCHoklch(16.28% 0.038 119.5)
XYZxyz(0.3369, 0.4487, 0.0689)
Luminance0.0045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1000 #040010
analogous
#100C00 #0C1000 #041000
triadic
#0C1000 #000C10 #10000C
tetradic
#0C1000 #00100C #040010 #100004
square
#0C1000 #00100C #040010 #100004
split-complementary
#0C1000 #000410 #0C0010
monochromatic
#171F00 #171F00 #171F00 #3A4D00 #688A00

Accessibility & contrast

On white

19.27
#0C1000 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.09
#0C1000 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C1000
19.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1000#FFFFFF#000000##FFFFFF
##0C10001.0019.271.0919.27
#FFFFFF19.271.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#120E00
Deuteranopia (green-blind)
#110E01
Tritanopia (blue-blind)
#0E0E0C
Achromatopsia (no color)
#0E0E0E

Design tokens & code

CSS
--color: #0c1000;
/* rgb */ color: rgb(12, 16, 0);
/* oklch */ color: oklch(16.3% 0.038 119.5);
Tailwind
colors: {
  custom: {
    50: '#4c4e47',
    500: '#0c1000',
    950: '#000000',
  },
}
SCSS
$custom: #0c1000;
$custom-light: #4c4e47;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1000",
  "rgb": {
    "r": 12,
    "g": 16,
    "b": 0
  },
  "hsl": {
    "h": 75,
    "s": 100,
    "l": 3.137
  },
  "oklch": {
    "l": 0.16283,
    "c": 0.03846,
    "h": 119.5
  },
  "luminance": 0.00449
}

Semantic roles & 50–950 ramp

primary
#0C1000
secondary
#23105C
accent
#29FF5E
background
#F4F4F3
surface
#E7E7E5
border
#C3C3C1
text
#010100
muted
#777777

Preview Lab

Preview with #0C1000

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

Preview Lab → · Contrast checker → · Palette generator →

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