Skip to content

#ceba0d

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

RGB
206, 186, 13
HSL
54°, 88%, 43%
CMYK
0, 10, 94, 19
Luminance
0.4827

Every format

HEX#ceba0d
RGBrgb(206, 186, 13)
HSLhsl(54, 88%, 43%)
CMYKcmyk(0%, 10%, 94%, 19%)
LABlab(75.0 -8.1 75.2)
LCHlch(75.0 75.6 96.2)
OKLCHoklch(0.782 0.161 101.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green72.9%
Blue5.1%

CMYK percentages

Cyan0.0%
Magenta9.7%
Yellow93.7%
Key (black)19.2%

Color previews

#ceba0d text on a black background

contrast 10.65:1

Card sample

#ceba0d text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceba0d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceba0d in the Color Lab