Skip to content

#a3b821

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

RGB
163, 184, 33
HSL
68°, 70%, 43%
CMYK
11, 0, 82, 28
Luminance
0.4218

Every format

HEX#a3b821
RGBrgb(163, 184, 33)
HSLhsl(68, 70%, 43%)
CMYKcmyk(11%, 0%, 82%, 28%)
LABlab(71.0 -25.3 66.7)
LCHlch(71.0 71.3 110.7)
OKLCHoklch(0.741 0.164 117.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a3b821 on white: 2.23:1
AA ✗ fail · AA-large · AAA
Aa
#a3b821 on black: 9.44:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.9%
Green72.2%
Blue12.9%

CMYK percentages

Cyan11.4%
Magenta0.0%
Yellow82.1%
Key (black)27.8%

Color previews

#a3b821 text on a black background

contrast 9.44:1

Card sample

#a3b821 text on a white background

contrast 2.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(163, 184, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(163, 184, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a3b821;
background: linear-gradient(135deg, #a3b821, #3EB821);

Monochromatic scale

Palettes built from #a3b821

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a3b821 in the Color Lab