Skip to content

#b0ad2f

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

RGB
176, 173, 47
HSL
59°, 58%, 44%
CMYK
0, 2, 73, 31
Luminance
0.3932

Every format

HEX#b0ad2f
RGBrgb(176, 173, 47)
HSLhsl(59, 58%, 44%)
CMYKcmyk(0%, 2%, 73%, 31%)
LABlab(69.0 -13.6 61.0)
LCHlch(69.0 62.5 102.6)
OKLCHoklch(0.728 0.141 108.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#b0ad2f on white: 2.37:1
AA ✗ fail · AA-large · AAA
Aa
#b0ad2f on black: 8.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red69.0%
Green67.8%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta1.7%
Yellow73.3%
Key (black)31.0%

Color previews

#b0ad2f text on a black background

contrast 8.86:1

Card sample

#b0ad2f text on a white background

contrast 2.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(176, 173, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(176, 173, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #b0ad2f;
background: linear-gradient(135deg, #b0ad2f, #5DB02F);

Monochromatic scale

Palettes built from #b0ad2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #b0ad2f in the Color Lab