Skip to content

#b3b341

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

RGB
179, 179, 65
HSL
60°, 47%, 48%
CMYK
0, 0, 64, 30
Luminance
0.4221

Every format

HEX#b3b341
RGBrgb(179, 179, 65)
HSLhsl(60, 47%, 48%)
CMYKcmyk(0%, 0%, 64%, 30%)
LABlab(71.0 -14.4 56.1)
LCHlch(71.0 57.9 104.4)
OKLCHoklch(0.745 0.135 109.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red70.2%
Green70.2%
Blue25.5%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow63.7%
Key (black)29.8%

Color previews

#b3b341 text on a black background

contrast 9.44:1

Card sample

#b3b341 text on a white background

contrast 2.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(179, 179, 65, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 179, 65, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b3b341;
background: linear-gradient(135deg, #b3b341, #67B341);

Monochromatic scale

Palettes built from #b3b341

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3b341 in the Color Lab