Skip to content

#0b0c01

a deep, electric yellow · cool · closest name: black

RGB
11, 12, 1
HSL
66°, 85%, 3%
CMYK
8, 0, 92, 95
Luminance
0.0034

Every format

HEX#0b0c01
RGBrgb(11, 12, 1)
HSLhsl(66, 85%, 3%)
CMYKcmyk(8%, 0%, 92%, 95%)
LABlab(3.0 -1.8 4.1)
LCHlch(3.0 4.5 114.0)
OKLCHoklch(0.149 0.029 112.8)

Copy-ready code

/* CSS */
color: #0b0c01;
background-color: #0b0c01;
/* Tailwind (arbitrary) */
class="text-[#0b0c01] bg-[#0b0c01]"
/* SCSS */
$brand: #0b0c01;
/* SwiftUI */
Color(red: 0.043, green: 0.047, blue: 0.004)
/* Android */
Color.parseColor("#0b0c01")

Accessibility — WCAG contrast

Aa
#0b0c01 on white: 19.68:1
AA ✓ pass · AA-large · AAA
Aa
#0b0c01 on black: 1.07:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green4.7%
Blue0.4%

CMYK percentages

Cyan8.3%
Magenta0.0%
Yellow91.7%
Key (black)95.3%

Color previews

#0b0c01 text on a black background

contrast 1.07:1

Card sample

#0b0c01 text on a white background

contrast 19.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #0b0c01;
Background color
Panel with #0b0c01 background
background-color: #0b0c01;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #0b0c01;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(11, 12, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 12, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b0c01;
background: linear-gradient(135deg, #0b0c01, #040C01);

Monochromatic scale

Palettes built from #0b0c01

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b0c01 in the Color Lab