Skip to content

#1b2c01

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

RGB
27, 44, 1
HSL
84°, 96%, 9%
CMYK
39, 0, 98, 83
Luminance
0.0204

Every format

HEX#1b2c01
RGBrgb(27, 44, 1)
HSLhsl(84, 96%, 9%)
CMYKcmyk(39%, 0%, 98%, 83%)
LABlab(15.7 -15.2 22.0)
LCHlch(15.7 26.8 124.6)
OKLCHoklch(0.268 0.070 129.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1b2c01 on white: 14.92:1
AA ✓ pass · AA-large · AAA
Aa
#1b2c01 on black: 1.41:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red10.6%
Green17.3%
Blue0.4%

CMYK percentages

Cyan38.6%
Magenta0.0%
Yellow97.7%
Key (black)82.7%

Color previews

#1b2c01 text on a black background

contrast 1.41:1

Card sample

#1b2c01 text on a white background

contrast 14.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(27, 44, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(27, 44, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1b2c01;
background: linear-gradient(135deg, #1b2c01, #012C04);

Monochromatic scale

Palettes built from #1b2c01

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1b2c01 in the Color Lab