Skip to content

#acb206

a dark, electric yellow · cool · closest name: olive

RGB
172, 178, 6
HSL
62°, 94%, 36%
CMYK
3, 0, 97, 30
Luminance
0.4062

Every format

HEX#acb206
RGBrgb(172, 178, 6)
HSLhsl(62, 94%, 36%)
CMYKcmyk(3%, 0%, 97%, 30%)
LABlab(69.9 -19.0 70.9)
LCHlch(69.9 73.4 105.0)
OKLCHoklch(0.734 0.162 112.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#acb206 on white: 2.30:1
AA ✗ fail · AA-large · AAA
Aa
#acb206 on black: 9.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.5%
Green69.8%
Blue2.4%

CMYK percentages

Cyan3.4%
Magenta0.0%
Yellow96.6%
Key (black)30.2%

Color previews

#acb206 text on a black background

contrast 9.12:1

Card sample

#acb206 text on a white background

contrast 2.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(172, 178, 6, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(172, 178, 6, 0.45);
Border & gradient
Gradient panel
border: 3px solid #acb206;
background: linear-gradient(135deg, #acb206, #39B206);

Monochromatic scale

Palettes built from #acb206

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #acb206 in the Color Lab