Skip to content

#cbba01

a dark, electric yellow · cool · closest name: gold

RGB
203, 186, 1
HSL
55°, 99%, 40%
CMYK
0, 8, 100, 20
Luminance
0.4782

Every format

HEX#cbba01
RGBrgb(203, 186, 1)
HSLhsl(55, 99%, 40%)
CMYKcmyk(0%, 8%, 100%, 20%)
LABlab(74.7 -9.6 76.1)
LCHlch(74.7 76.7 97.2)
OKLCHoklch(0.779 0.164 102.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbba01 on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#cbba01 on black: 10.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green72.9%
Blue0.4%

CMYK percentages

Cyan0.0%
Magenta8.4%
Yellow99.5%
Key (black)20.4%

Color previews

#cbba01 text on a black background

contrast 10.56:1

Card sample

#cbba01 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 186, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 186, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbba01;
background: linear-gradient(135deg, #cbba01, #55CB01);

Monochromatic scale

Palettes built from #cbba01

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbba01 in the Color Lab