Skip to content

#0dac21

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

RGB
13, 172, 33
HSL
128°, 86%, 36%
CMYK
92, 0, 81, 33
Luminance
0.2970

Every format

HEX#0dac21
RGBrgb(13, 172, 33)
HSLhsl(128, 86%, 36%)
CMYKcmyk(92%, 0%, 81%, 33%)
LABlab(61.4 -62.2 55.8)
LCHlch(61.4 83.6 138.1)
OKLCHoklch(0.647 0.209 143.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red5.1%
Green67.5%
Blue12.9%

CMYK percentages

Cyan92.4%
Magenta0.0%
Yellow80.8%
Key (black)32.5%

Color previews

#0dac21 text on a black background

contrast 6.94:1

Card sample

#0dac21 text on a white background

contrast 3.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0dac21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0dac21 in the Color Lab