Skip to content

#cba60c

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

RGB
203, 166, 12
HSL
48°, 89%, 42%
CMYK
0, 18, 94, 20
Luminance
0.4000

Every format

HEX#cba60c
RGBrgb(203, 166, 12)
HSLhsl(48, 89%, 42%)
CMYKcmyk(0%, 18%, 94%, 20%)
LABlab(69.5 1.0 71.0)
LCHlch(69.5 71.0 89.2)
OKLCHoklch(0.737 0.149 92.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cba60c on white: 2.33:1
AA ✗ fail · AA-large · AAA
Aa
#cba60c on black: 9.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green65.1%
Blue4.7%

CMYK percentages

Cyan0.0%
Magenta18.2%
Yellow94.1%
Key (black)20.4%

Color previews

#cba60c text on a black background

contrast 9.00:1

Card sample

#cba60c text on a white background

contrast 2.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cba60c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cba60c in the Color Lab