Skip to content

#abc152

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

RGB
171, 193, 82
HSL
72°, 47%, 54%
CMYK
11, 0, 58, 24
Luminance
0.4741

Every format

HEX#abc152
RGBrgb(171, 193, 82)
HSLhsl(72, 47%, 54%)
CMYKcmyk(11%, 0%, 58%, 24%)
LABlab(74.5 -23.5 52.3)
LCHlch(74.5 57.3 114.2)
OKLCHoklch(0.772 0.139 119.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abc152 on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#abc152 on black: 10.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green75.7%
Blue32.2%

CMYK percentages

Cyan11.4%
Magenta0.0%
Yellow57.5%
Key (black)24.3%

Color previews

#abc152 text on a black background

contrast 10.48:1

Card sample

#abc152 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 193, 82, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 193, 82, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abc152;
background: linear-gradient(135deg, #abc152, #61C152);

Monochromatic scale

Palettes built from #abc152

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc152 in the Color Lab