Skip to content
Kolorvia
#0c0a04

Color #0c0a04

A moderately saturated very dark yellow.

Conversions

HEX
#0c0a04
RGB
rgb(12, 10, 4)
HSL
hsl(45, 50%, 3.1%)
HSV / HSB
hsv(45, 66.7%, 4.7%)
CMYK
cmyk(0%, 16.7%, 66.7%, 95.3%)
LAB
lab(2.75, -0.28, 2.47)
LCH
lch(2.75, 2.49, 96.47)
OKLCH
oklch(14.5%, 0.0156, 95.16)
HWB
hwb(45, 1.6%, 95.3%)

Harmony colors

Complementary

#04060c

Analogous

#0c0604
#0c0a04
#0a0c04

Triadic

#0c0a04
#040c0a
#0a040c

Split-complementary

#0c0a04
#040a0c
#06040c

Tetradic

#0c0a04
#060c04
#04060c
#0a040c

Square

#0c0a04
#040c06
#04060c
#0c040a

Shades

Color #0c0a04 mixed toward black.

#0a0803
#080703
#060502
#040301
#020201

Tints

Color #0c0a04 mixed toward white.

#4a3d19
#87712d
#c1a246
#d6c183
#eae0c1

Tones

Color #0c0a04 mixed toward gray.

#0b0a05
#0b0905
#0a0906
#090907
#090807

Accessibility

Aa White text on this color
19.8:1
Aa Black text on this color
1.06:1

White text reads better on this background (19.8:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#0b0b05 · ΔE 0.8

Deuteranopia

#0b0b06 · ΔE 0.8

Tritanopia

#0c0707 · ΔE 3.1

Achromatopsia

#0a0a0a · ΔE 2.4

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #0c0a04;
Tailwind (arbitrary value)
bg-[#0c0a04]

Related colors

Goldenrod #daa520
Dark Goldenrod #b8860b
Cornsilk #fff8dc
Floral White #fffaf0
Gold #ffd700
Old Lace #fdf5e6

Frequently asked questions

#0c0a04 (#0c0a04) is rgb(12, 10, 4) in RGB.

No, #0c0a04 is not one of the 216 web-safe colors — for that, every RGB channel would have to be a multiple of 51.

Related tools

Build something with this color

Generate a full palette from #0c0a04, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.