Skip to content

#abc270

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

RGB
171, 194, 112
HSL
77°, 40%, 60%
CMYK
12, 0, 42, 24
Luminance
0.4841

Every format

HEX#abc270
RGBrgb(171, 194, 112)
HSLhsl(77, 40%, 60%)
CMYKcmyk(12%, 0%, 42%, 24%)
LABlab(75.1 -21.0 38.6)
LCHlch(75.1 44.0 118.6)
OKLCHoklch(0.778 0.110 121.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abc270 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#abc270 on black: 10.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green76.1%
Blue43.9%

CMYK percentages

Cyan11.9%
Magenta0.0%
Yellow42.3%
Key (black)23.9%

Color previews

#abc270 text on a black background

contrast 10.68:1

Card sample

#abc270 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #abc270

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc270 in the Color Lab