Skip to content

#bbaf3d

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

RGB
187, 175, 61
HSL
54°, 51%, 49%
CMYK
0, 6, 67, 27
Luminance
0.4156

Every format

HEX#bbaf3d
RGBrgb(187, 175, 61)
HSLhsl(54, 51%, 49%)
CMYKcmyk(0%, 6%, 67%, 27%)
LABlab(70.6 -9.2 57.5)
LCHlch(70.6 58.3 99.0)
OKLCHoklch(0.743 0.133 103.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbaf3d on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#bbaf3d on black: 9.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green68.6%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta6.4%
Yellow67.4%
Key (black)26.7%

Color previews

#bbaf3d text on a black background

contrast 9.31:1

Card sample

#bbaf3d text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 175, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 175, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bbaf3d;
background: linear-gradient(135deg, #bbaf3d, #73BB3D);

Monochromatic scale

Palettes built from #bbaf3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbaf3d in the Color Lab