Skip to content

#bbc03f

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

RGB
187, 192, 63
HSL
62°, 51%, 50%
CMYK
3, 0, 67, 25
Luminance
0.4862

Every format

HEX#bbc03f
RGBrgb(187, 192, 63)
HSLhsl(62, 51%, 50%)
CMYKcmyk(3%, 0%, 67%, 25%)
LABlab(75.2 -17.7 61.5)
LCHlch(75.2 64.0 106.1)
OKLCHoklch(0.780 0.148 111.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#bbc03f on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#bbc03f on black: 10.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red73.3%
Green75.3%
Blue24.7%

CMYK percentages

Cyan2.6%
Magenta0.0%
Yellow67.2%
Key (black)24.7%

Color previews

#bbc03f text on a black background

contrast 10.72:1

Card sample

#bbc03f text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(187, 192, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(187, 192, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bbc03f;
background: linear-gradient(135deg, #bbc03f, #65C03F);

Monochromatic scale

Palettes built from #bbc03f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bbc03f in the Color Lab