Skip to content

#b3b430

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

RGB
179, 180, 48
HSL
61°, 58%, 45%
CMYK
1, 0, 73, 29
Luminance
0.4244

Every format

HEX#b3b430
RGBrgb(179, 180, 48)
HSLhsl(61, 58%, 45%)
CMYKcmyk(1%, 0%, 73%, 29%)
LABlab(71.2 -15.8 62.8)
LCHlch(71.2 64.8 104.2)
OKLCHoklch(0.746 0.147 109.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b3b430 on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#b3b430 on black: 9.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red70.2%
Green70.6%
Blue18.8%

CMYK percentages

Cyan0.6%
Magenta0.0%
Yellow73.3%
Key (black)29.4%

Color previews

#b3b430 text on a black background

contrast 9.49:1

Card sample

#b3b430 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(179, 180, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(179, 180, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b3b430;
background: linear-gradient(135deg, #b3b430, #5BB430);

Monochromatic scale

Palettes built from #b3b430

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b3b430 in the Color Lab