Skip to content

#acbc2f

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

RGB
172, 188, 47
HSL
67°, 60%, 46%
CMYK
9, 0, 75, 26
Luminance
0.4494

Every format

HEX#acbc2f
RGBrgb(172, 188, 47)
HSLhsl(67, 60%, 46%)
CMYKcmyk(9%, 0%, 75%, 26%)
LABlab(72.8 -22.9 64.5)
LCHlch(72.8 68.5 109.5)
OKLCHoklch(0.758 0.158 116.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acbc2f on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#acbc2f on black: 9.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green73.7%
Blue18.4%

CMYK percentages

Cyan8.5%
Magenta0.0%
Yellow75.0%
Key (black)26.3%

Color previews

#acbc2f text on a black background

contrast 9.99:1

Card sample

#acbc2f text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 188, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 188, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acbc2f;
background: linear-gradient(135deg, #acbc2f, #4EBC2F);

Monochromatic scale

Palettes built from #acbc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acbc2f in the Color Lab