Skip to content

#b3b821

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

RGB
179, 184, 33
HSL
62°, 70%, 43%
CMYK
3, 0, 82, 28
Luminance
0.4397

Every format

HEX#b3b821
RGBrgb(179, 184, 33)
HSLhsl(62, 70%, 43%)
CMYKcmyk(3%, 0%, 82%, 28%)
LABlab(72.2 -18.4 68.2)
LCHlch(72.2 70.7 105.1)
OKLCHoklch(0.754 0.159 111.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b3b821 on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#b3b821 on black: 9.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green72.2%
Blue12.9%

CMYK percentages

Cyan2.7%
Magenta0.0%
Yellow82.1%
Key (black)27.8%

Color previews

#b3b821 text on a black background

contrast 9.79:1

Card sample

#b3b821 text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #b3b821

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3b821 in the Color Lab