#0C0804#0C0804

#0C0804 is a very dark, near-neutral orange. Relative luminance 0.003; OKLCH L 13.8% C 0.013 H 74.2°. Best body text is #FFFFFF at 19.96:1 contrast (WCAG AA passes).

Color values

HEX#0C0804
RGBrgb(12, 8, 4)
HSLhsl(30, 50%, 3%)
HSVhsv(30, 67%, 5%)
CMYKcmyk(0%, 33.3%, 66.7%, 95.3%)
CIE-LABlab(2.35, 0.52, 1.89)
CIE-LCHlch(2.35, 1.96, 74.62°)
OKLaboklab(13.81% 0.0037 0.0129)
OKLCHoklch(13.81% 0.013 74.2)
XYZxyz(0.2604, 0.2606, 0.1514)
Luminance0.0026 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C0804 #04080C
analogous
#0C0404 #0C0804 #0C0C04
triadic
#0C0804 #040C08 #08040C
tetradic
#0C0804 #040C04 #04080C #0C040C
square
#0C0804 #040C04 #04080C #0C040C
split-complementary
#0C0804 #040C0C #04040C
monochromatic
#170F08 #170F08 #170F08 #3A2713 #684523

Accessibility & contrast

On white

19.96
#0C0804 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.05
#0C0804 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C0804
19.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C0804#FFFFFF#000000##FFFFFF
##0C08041.0019.961.0519.96
#FFFFFF19.961.0021.001.00
#0000001.0521.001.0021.00
##FFFFFF19.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#090804
Deuteranopia (green-blind)
#0A0904
Tritanopia (blue-blind)
#0E0707
Achromatopsia (no color)
#090909

Design tokens & code

CSS
--color: #0c0804;
/* rgb */ color: rgb(12, 8, 4);
/* oklch */ color: oklch(13.8% 0.013 74.2);
Tailwind
colors: {
  custom: {
    50: '#4c4a48',
    500: '#0c0804',
    950: '#000000',
  },
}
SCSS
$custom: #0c0804;
$custom-light: #4c4a48;
$custom-dark: #000000;
JSON
{
  "hex": "#0c0804",
  "rgb": {
    "r": 12,
    "g": 8,
    "b": 4
  },
  "hsl": {
    "h": 30,
    "s": 50,
    "l": 3.137
  },
  "oklch": {
    "l": 0.13805,
    "c": 0.01342,
    "h": 74.2
  },
  "luminance": 0.00261
}

Semantic roles & 50–950 ramp

primary
#0C0804
secondary
#233649
accent
#94DA4E
background
#F4F4F4
surface
#E7E7E6
border
#C3C3C2
text
#010100
muted
#777777

Preview Lab

Preview with #0C0804

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

Preview Lab → · Contrast checker → · Palette generator →

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