Skip to content

#0af40c

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

RGB
10, 244, 12
HSL
121°, 92%, 50%
CMYK
96, 0, 95, 4
Luminance
0.6479

Every format

HEX#0af40c
RGBrgb(10, 244, 12)
HSLhsl(121, 92%, 50%)
CMYKcmyk(96%, 0%, 95%, 4%)
LABlab(84.4 -82.9 79.5)
LCHlch(84.4 114.8 136.2)
OKLCHoklch(0.839 0.283 142.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#0af40c on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#0af40c on black: 13.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red3.9%
Green95.7%
Blue4.7%

CMYK percentages

Cyan95.9%
Magenta0.0%
Yellow95.1%
Key (black)4.3%

Color previews

#0af40c text on a black background

contrast 13.96:1

Card sample

#0af40c text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #0af40c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #0af40c in the Color Lab