Skip to content

#042016

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

RGB
4, 32, 22
HSL
159°, 78%, 7%
CMYK
88, 0, 31, 88
Luminance
0.0112

Every format

HEX#042016
RGBrgb(4, 32, 22)
HSLhsl(159, 78%, 7%)
CMYKcmyk(88%, 0%, 31%, 88%)
LABlab(9.9 -13.7 3.7)
LCHlch(9.9 14.2 164.8)
OKLCHoklch(0.219 0.040 166.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#042016 on white: 17.17:1
AA ✓ pass · AA-large · AAA
Aa
#042016 on black: 1.22:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red1.6%
Green12.5%
Blue8.6%

CMYK percentages

Cyan87.5%
Magenta0.0%
Yellow31.2%
Key (black)87.5%

Color previews

#042016 text on a black background

contrast 1.22:1

Card sample

#042016 text on a white background

contrast 17.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #042016

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #042016 in the Color Lab