Skip to content

#adb511

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

RGB
173, 181, 17
HSL
63°, 83%, 39%
CMYK
4, 0, 91, 29
Luminance
0.4197

Every format

HEX#adb511
RGBrgb(173, 181, 17)
HSLhsl(63, 83%, 39%)
CMYKcmyk(4%, 0%, 91%, 29%)
LABlab(70.8 -19.9 70.2)
LCHlch(70.8 73.0 105.8)
OKLCHoklch(0.742 0.162 112.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#adb511 on white: 2.24:1
AA ✗ fail · AA-large · AAA
Aa
#adb511 on black: 9.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green71.0%
Blue6.7%

CMYK percentages

Cyan4.4%
Magenta0.0%
Yellow90.6%
Key (black)29.0%

Color previews

#adb511 text on a black background

contrast 9.39:1

Card sample

#adb511 text on a white background

contrast 2.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(173, 181, 17, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 181, 17, 0.45);
Border & gradient
Gradient panel
border: 3px solid #adb511;
background: linear-gradient(135deg, #adb511, #40B511);

Monochromatic scale

Palettes built from #adb511

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #adb511 in the Color Lab