Skip to content

#acba39

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

RGB
172, 186, 57
HSL
67°, 53%, 48%
CMYK
8, 0, 69, 27
Luminance
0.4418

Every format

HEX#acba39
RGBrgb(172, 186, 57)
HSLhsl(67, 53%, 48%)
CMYKcmyk(8%, 0%, 69%, 27%)
LABlab(72.3 -21.4 60.5)
LCHlch(72.3 64.2 109.5)
OKLCHoklch(0.754 0.150 115.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acba39 on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#acba39 on black: 9.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green72.9%
Blue22.4%

CMYK percentages

Cyan7.5%
Magenta0.0%
Yellow69.4%
Key (black)27.1%

Color previews

#acba39 text on a black background

contrast 9.84:1

Card sample

#acba39 text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 186, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 186, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acba39;
background: linear-gradient(135deg, #acba39, #56BA39);

Monochromatic scale

Palettes built from #acba39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acba39 in the Color Lab