Skip to content

#abc261

a balanced, soft green · cool · closest name: khaki

RGB
171, 194, 97
HSL
74°, 44%, 57%
CMYK
12, 0, 50, 24
Luminance
0.4810

Every format

HEX#abc261
RGBrgb(171, 194, 97)
HSLhsl(74, 44%, 57%)
CMYKcmyk(12%, 0%, 50%, 24%)
LABlab(74.9 -22.6 45.8)
LCHlch(74.9 51.1 116.3)
OKLCHoklch(0.776 0.126 120.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.1%
Green76.1%
Blue38.0%

CMYK percentages

Cyan11.9%
Magenta0.0%
Yellow50.0%
Key (black)23.9%

Color previews

#abc261 text on a black background

contrast 10.62:1

Card sample

#abc261 text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 194, 97, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 194, 97, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abc261;
background: linear-gradient(135deg, #abc261, #6BC261);

Monochromatic scale

Palettes built from #abc261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc261 in the Color Lab