#0C1007#0C1007

#0C1007 is a very dark, near-neutral yellow-green. Relative luminance 0.005; OKLCH L 16.5% C 0.020 H 127.3°. Best body text is #FFFFFF at 19.22:1 contrast (WCAG AA passes).

Color values

HEX#0C1007
RGBrgb(12, 16, 7)
HSLhsl(87, 39%, 5%)
HSVhsv(87, 56%, 6%)
CMYKcmyk(25%, 0%, 56.2%, 93.7%)
CIE-LABlab(4.19, -2.70, 3.35)
CIE-LCHlch(4.19, 4.30, 128.79°)
OKLaboklab(16.53% -0.0119 0.0156)
OKLCHoklch(16.53% 0.02 127.3)
XYZxyz(0.3753, 0.4641, 0.2708)
Luminance0.0046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C1007 #0B0710
analogous
#101007 #0C1007 #081007
triadic
#0C1007 #070C10 #10070C
tetradic
#0C1007 #071010 #0B0710 #100708
square
#0C1007 #071010 #0B0710 #100708
split-complementary
#0C1007 #070810 #100710
monochromatic
#101509 #101509 #101509 #2C3B1A #4C652C

Accessibility & contrast

On white

19.22
#0C1007 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C1007
19.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C1007#FFFFFF#000000##FFFFFF
##0C10071.0019.221.0919.22
#FFFFFF19.221.0021.001.00
#0000001.0921.001.0021.00
##FFFFFF19.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#110F06
Deuteranopia (green-blind)
#100F07
Tritanopia (blue-blind)
#0C0F0E
Achromatopsia (no color)
#0F0F0F

Design tokens & code

CSS
--color: #0c1007;
/* rgb */ color: rgb(12, 16, 7);
/* oklch */ color: oklch(16.5% 0.020 127.3);
Tailwind
colors: {
  custom: {
    50: '#4c4e4a',
    500: '#0c1007',
    950: '#000000',
  },
}
SCSS
$custom: #0c1007;
$custom-light: #4c4e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c1007",
  "rgb": {
    "r": 12,
    "g": 16,
    "b": 7
  },
  "hsl": {
    "h": 86.667,
    "s": 39.13,
    "l": 4.51
  },
  "oklch": {
    "l": 0.16526,
    "c": 0.01961,
    "h": 127.3
  },
  "luminance": 0.00464
}

Semantic roles & 50–950 ramp

primary
#0C1007
secondary
#382A49
accent
#59CF8D
background
#F4F4F4
surface
#E7E7E7
border
#C3C3C3
text
#010101
muted
#777777

Preview Lab

Preview with #0C1007

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

Preview Lab → · Contrast checker → · Palette generator →

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