Skip to content

#0aaf21

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

RGB
10, 175, 33
HSL
128°, 89%, 36%
CMYK
94, 0, 81, 31
Luminance
0.3083

Every format

HEX#0aaf21
RGBrgb(10, 175, 33)
HSLhsl(128, 89%, 36%)
CMYKcmyk(94%, 0%, 81%, 31%)
LABlab(62.4 -63.3 56.7)
LCHlch(62.4 85.0 138.1)
OKLCHoklch(0.655 0.213 143.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0aaf21 on white: 2.93:1
AA ✗ fail · AA-large · AAA
Aa
#0aaf21 on black: 7.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.9%
Green68.6%
Blue12.9%

CMYK percentages

Cyan94.3%
Magenta0.0%
Yellow81.1%
Key (black)31.4%

Color previews

#0aaf21 text on a black background

contrast 7.17:1

Card sample

#0aaf21 text on a white background

contrast 2.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0aaf21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0aaf21 in the Color Lab