Skip to content

#0f0f00

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

RGB
15, 15, 0
HSL
60°, 100%, 3%
CMYK
0, 0, 100, 94
Luminance
0.0044

Every format

HEX#0f0f00
RGBrgb(15, 15, 0)
HSLhsl(60, 100%, 3%)
CMYKcmyk(0%, 0%, 100%, 94%)
LABlab(4.0 -2.2 6.0)
LCHlch(4.0 6.3 110.2)
OKLCHoklch(0.163 0.035 109.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red5.9%
Green5.9%
Blue0.0%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow100.0%
Key (black)94.1%

Color previews

#0f0f00 text on a black background

contrast 1.09:1

Card sample

#0f0f00 text on a white background

contrast 19.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f0f00

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f0f00 in the Color Lab