Skip to content

#abcf27

a balanced, vivid green · cool · closest name: yellow

RGB
171, 207, 39
HSL
73°, 68%, 48%
CMYK
17, 0, 81, 19
Luminance
0.5343

Every format

HEX#abcf27
RGBrgb(171, 207, 39)
HSLhsl(73, 68%, 48%)
CMYKcmyk(17%, 0%, 81%, 19%)
LABlab(78.1 -32.7 71.6)
LCHlch(78.1 78.7 114.5)
OKLCHoklch(0.800 0.183 121.9)

Copy-ready code

/* CSS */
color: #abcf27;
background-color: #abcf27;
/* Tailwind (arbitrary) */
class="text-[#abcf27] bg-[#abcf27]"
/* SCSS */
$brand: #abcf27;
/* SwiftUI */
Color(red: 0.671, green: 0.812, blue: 0.153)
/* Android */
Color.parseColor("#abcf27")

Accessibility — WCAG contrast

Aa
#abcf27 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#abcf27 on black: 11.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green81.2%
Blue15.3%

CMYK percentages

Cyan17.4%
Magenta0.0%
Yellow81.2%
Key (black)18.8%

Color previews

#abcf27 text on a black background

contrast 11.69:1

Card sample

#abcf27 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 207, 39, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 207, 39, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abcf27;
background: linear-gradient(135deg, #abcf27, #3BCF27);

Monochromatic scale

Palettes built from #abcf27

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abcf27 in the Color Lab