Skip to content

#abc348

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

RGB
171, 195, 72
HSL
72°, 51%, 52%
CMYK
12, 0, 63, 24
Luminance
0.4816

Every format

HEX#abc348
RGBrgb(171, 195, 72)
HSLhsl(72, 51%, 52%)
CMYKcmyk(12%, 0%, 63%, 24%)
LABlab(74.9 -25.3 57.2)
LCHlch(74.9 62.5 113.8)
OKLCHoklch(0.775 0.150 119.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abc348 on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#abc348 on black: 10.63:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green76.5%
Blue28.2%

CMYK percentages

Cyan12.3%
Magenta0.0%
Yellow63.1%
Key (black)23.5%

Color previews

#abc348 text on a black background

contrast 10.63:1

Card sample

#abc348 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 195, 72, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 195, 72, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abc348;
background: linear-gradient(135deg, #abc348, #59C348);

Monochromatic scale

Palettes built from #abc348

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc348 in the Color Lab