Skip to content

#0af151

a balanced, electric green · cool · closest name: lime

RGB
10, 241, 81
HSL
138°, 92%, 49%
CMYK
96, 0, 66, 6
Luminance
0.6357

Every format

HEX#0af151
RGBrgb(10, 241, 81)
HSLhsl(138, 92%, 49%)
CMYKcmyk(96%, 0%, 66%, 6%)
LABlab(83.7 -78.3 61.6)
LCHlch(83.7 99.6 141.8)
OKLCHoklch(0.834 0.254 145.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0af151 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#0af151 on black: 13.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.9%
Green94.5%
Blue31.8%

CMYK percentages

Cyan95.9%
Magenta0.0%
Yellow66.4%
Key (black)5.5%

Color previews

#0af151 text on a black background

contrast 13.71:1

Card sample

#0af151 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0af151

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0af151 in the Color Lab