Skip to content

#adb321

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

RGB
173, 179, 33
HSL
63°, 69%, 42%
CMYK
3, 0, 82, 30
Luminance
0.4123

Every format

HEX#adb321
RGBrgb(173, 179, 33)
HSLhsl(63, 69%, 42%)
CMYKcmyk(3%, 0%, 82%, 30%)
LABlab(70.3 -18.5 66.4)
LCHlch(70.3 69.0 105.6)
OKLCHoklch(0.738 0.155 112.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#adb321 on white: 2.27:1
AA ✗ fail · AA-large · AAA
Aa
#adb321 on black: 9.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green70.2%
Blue12.9%

CMYK percentages

Cyan3.4%
Magenta0.0%
Yellow81.6%
Key (black)29.8%

Color previews

#adb321 text on a black background

contrast 9.25:1

Card sample

#adb321 text on a white background

contrast 2.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(173, 179, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 179, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #adb321;
background: linear-gradient(135deg, #adb321, #4CB321);

Monochromatic scale

Palettes built from #adb321

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #adb321 in the Color Lab