Skip to content

#0f2000

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

RGB
15, 32, 0
HSL
92°, 100%, 6%
CMYK
53, 0, 100, 88
Luminance
0.0113

Every format

HEX#0f2000
RGBrgb(15, 32, 0)
HSLhsl(92, 100%, 6%)
CMYKcmyk(53%, 0%, 100%, 88%)
LABlab(10.1 -14.2 14.8)
LCHlch(10.1 20.4 133.8)
OKLCHoklch(0.220 0.061 132.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0f2000 on white: 17.12:1
AA ✓ pass · AA-large · AAA
Aa
#0f2000 on black: 1.23:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red5.9%
Green12.5%
Blue0.0%

CMYK percentages

Cyan53.1%
Magenta0.0%
Yellow100.0%
Key (black)87.5%

Color previews

#0f2000 text on a black background

contrast 1.23:1

Card sample

#0f2000 text on a white background

contrast 17.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0f2000

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0f2000 in the Color Lab