Skip to content

#abba0f

a dark, electric yellow · cool · closest name: olive

RGB
171, 186, 15
HSL
65°, 85%, 39%
CMYK
8, 0, 92, 27
Luminance
0.4381

Every format

HEX#abba0f
RGBrgb(171, 186, 15)
HSLhsl(65, 85%, 39%)
CMYKcmyk(8%, 0%, 92%, 27%)
LABlab(72.1 -23.3 71.4)
LCHlch(72.1 75.1 108.1)
OKLCHoklch(0.752 0.168 115.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abba0f on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#abba0f on black: 9.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green72.9%
Blue5.9%

CMYK percentages

Cyan8.1%
Magenta0.0%
Yellow91.9%
Key (black)27.1%

Color previews

#abba0f text on a black background

contrast 9.76:1

Card sample

#abba0f text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abba0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abba0f in the Color Lab