Skip to content

#abc640

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

RGB
171, 198, 64
HSL
72°, 54%, 51%
CMYK
14, 0, 68, 22
Luminance
0.4942

Every format

HEX#abc640
RGBrgb(171, 198, 64)
HSLhsl(72, 54%, 51%)
CMYKcmyk(14%, 0%, 68%, 22%)
LABlab(75.7 -27.2 61.2)
LCHlch(75.7 67.0 114.0)
OKLCHoklch(0.781 0.159 120.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#abc640 on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#abc640 on black: 10.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.1%
Green77.6%
Blue25.1%

CMYK percentages

Cyan13.6%
Magenta0.0%
Yellow67.7%
Key (black)22.4%

Color previews

#abc640 text on a black background

contrast 10.88:1

Card sample

#abc640 text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(171, 198, 64, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 198, 64, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abc640;
background: linear-gradient(135deg, #abc640, #52C640);

Monochromatic scale

Palettes built from #abc640

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #abc640 in the Color Lab