Skip to content

#0b7921

a dark, electric green · cool · closest name: forestgreen

RGB
11, 121, 33
HSL
132°, 83%, 26%
CMYK
91, 0, 73, 53
Luminance
0.1386

Every format

HEX#0b7921
RGBrgb(11, 121, 33)
HSLhsl(132, 83%, 26%)
CMYKcmyk(91%, 0%, 73%, 53%)
LABlab(44.0 -46.7 38.5)
LCHlch(44.0 60.5 140.5)
OKLCHoklch(0.502 0.154 145.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0b7921 on white: 5.57:1
AA ✓ pass · AA-large · AAA
Aa
#0b7921 on black: 3.77:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green47.5%
Blue12.9%

CMYK percentages

Cyan90.9%
Magenta0.0%
Yellow72.7%
Key (black)52.5%

Color previews

#0b7921 text on a black background

contrast 3.77:1

Card sample

#0b7921 text on a white background

contrast 5.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0b7921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0b7921 in the Color Lab