Skip to content

#ceb813

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

RGB
206, 184, 19
HSL
53°, 83%, 44%
CMYK
0, 11, 91, 19
Luminance
0.4745

Every format

HEX#ceb813
RGBrgb(206, 184, 19)
HSLhsl(53, 83%, 44%)
CMYKcmyk(0%, 11%, 91%, 19%)
LABlab(74.5 -7.0 73.9)
LCHlch(74.5 74.3 95.4)
OKLCHoklch(0.778 0.159 100.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceb813 on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#ceb813 on black: 10.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green72.2%
Blue7.5%

CMYK percentages

Cyan0.0%
Magenta10.7%
Yellow90.8%
Key (black)19.2%

Color previews

#ceb813 text on a black background

contrast 10.49:1

Card sample

#ceb813 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 184, 19, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 184, 19, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ceb813;
background: linear-gradient(135deg, #ceb813, #67CE13);

Monochromatic scale

Palettes built from #ceb813

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceb813 in the Color Lab