Skip to content

#ceba08

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

RGB
206, 186, 8
HSL
54°, 93%, 42%
CMYK
0, 10, 96, 19
Luminance
0.4826

Every format

HEX#ceba08
RGBrgb(206, 186, 8)
HSLhsl(54, 93%, 42%)
CMYKcmyk(0%, 10%, 96%, 19%)
LABlab(75.0 -8.2 75.7)
LCHlch(75.0 76.2 96.2)
OKLCHoklch(0.782 0.162 101.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceba08 on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#ceba08 on black: 10.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green72.9%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta9.7%
Yellow96.1%
Key (black)19.2%

Color previews

#ceba08 text on a black background

contrast 10.65:1

Card sample

#ceba08 text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceba08

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceba08 in the Color Lab