Color #0c0a04
A moderately saturated very dark yellow.
Conversions
#0c0a04
rgb(12, 10, 4)
hsl(45, 50%, 3.1%)
hsv(45, 66.7%, 4.7%)
cmyk(0%, 16.7%, 66.7%, 95.3%)
lab(2.75, -0.28, 2.47)
lch(2.75, 2.49, 96.47)
oklch(14.5%, 0.0156, 95.16)
hwb(45, 1.6%, 95.3%)
Harmony colors
Accessibility
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
background-color: #0c0a04;
bg-[#0c0a04]
Related colors
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
HEX to RGB Converter
Convert any HEX color code to its RGB and HSL equivalents, live, with copy-to-clipboard values.
Try it → AccessibilityContrast Checker
Check the WCAG contrast ratio between any two colors, live, with AA/AAA pass-fail results.
Try it → GeneratorsPalette Generator
Generate complementary, analogous, triadic, split-complementary, tetradic, square, and monochromatic palettes from any base color.
Try it →Build something with this color
Generate a full palette from #0c0a04, or check how it holds up for accessibility.