Skip to content

#0bac21

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

RGB
11, 172, 33
HSL
128°, 88%, 36%
CMYK
94, 0, 81, 33
Luminance
0.2969

Every format

HEX#0bac21
RGBrgb(11, 172, 33)
HSLhsl(128, 88%, 36%)
CMYKcmyk(94%, 0%, 81%, 33%)
LABlab(61.4 -62.4 55.8)
LCHlch(61.4 83.7 138.2)
OKLCHoklch(0.647 0.209 143.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0bac21 on white: 3.03:1
AA ✗ fail · AA-large · AAA
Aa
#0bac21 on black: 6.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red4.3%
Green67.5%
Blue12.9%

CMYK percentages

Cyan93.6%
Magenta0.0%
Yellow80.8%
Key (black)32.5%

Color previews

#0bac21 text on a black background

contrast 6.94:1

Card sample

#0bac21 text on a white background

contrast 3.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0bac21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0bac21 in the Color Lab