Skip to content

#cbba08

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

RGB
203, 186, 8
HSL
55°, 92%, 41%
CMYK
0, 8, 96, 20
Luminance
0.4783

Every format

HEX#cbba08
RGBrgb(203, 186, 8)
HSLhsl(55, 92%, 41%)
CMYKcmyk(0%, 8%, 96%, 20%)
LABlab(74.7 -9.5 75.4)
LCHlch(74.7 76.0 97.2)
OKLCHoklch(0.779 0.162 102.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.6%
Green72.9%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta8.4%
Yellow96.1%
Key (black)20.4%

Color previews

#cbba08 text on a black background

contrast 10.57:1

Card sample

#cbba08 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbba08

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbba08 in the Color Lab