Skip to content

#0f0f05

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

RGB
15, 15, 5
HSL
60°, 50%, 4%
CMYK
0, 0, 67, 94
Luminance
0.0045

Every format

HEX#0f0f05
RGBrgb(15, 15, 5)
HSLhsl(60, 50%, 4%)
CMYKcmyk(0%, 0%, 67%, 94%)
LABlab(4.1 -1.5 4.1)
LCHlch(4.1 4.3 110.2)
OKLCHoklch(0.165 0.021 108.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f0f05 on white: 19.25:1
AA ✓ pass · AA-large · AAA
Aa
#0f0f05 on black: 1.09:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green5.9%
Blue2.0%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow66.7%
Key (black)94.1%

Color previews

#0f0f05 text on a black background

contrast 1.09:1

Card sample

#0f0f05 text on a white background

contrast 19.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(15, 15, 5, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 15, 5, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f0f05;
background: linear-gradient(135deg, #0f0f05, #080F05);

Monochromatic scale

Palettes built from #0f0f05

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f0f05 in the Color Lab