Skip to content

#bbc950

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

RGB
187, 201, 80
HSL
67°, 53%, 55%
CMYK
7, 0, 60, 21
Luminance
0.5292

Every format

HEX#bbc950
RGBrgb(187, 201, 80)
HSLhsl(67, 53%, 55%)
CMYKcmyk(7%, 0%, 60%, 21%)
LABlab(77.8 -21.1 57.2)
LCHlch(77.8 61.0 110.2)
OKLCHoklch(0.802 0.145 115.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbc950 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#bbc950 on black: 11.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green78.8%
Blue31.4%

CMYK percentages

Cyan7.0%
Magenta0.0%
Yellow60.2%
Key (black)21.2%

Color previews

#bbc950 text on a black background

contrast 11.58:1

Card sample

#bbc950 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 201, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 201, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bbc950;
background: linear-gradient(135deg, #bbc950, #6AC950);

Monochromatic scale

Palettes built from #bbc950

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbc950 in the Color Lab