Skip to content

#ceba2c

a balanced, vivid yellow · cool · closest name: gold

RGB
206, 186, 44
HSL
53°, 65%, 49%
CMYK
0, 10, 79, 19
Luminance
0.4842

Every format

HEX#ceba2c
RGBrgb(206, 186, 44)
HSLhsl(53, 65%, 49%)
CMYKcmyk(0%, 10%, 79%, 19%)
LABlab(75.1 -7.4 68.5)
LCHlch(75.1 68.9 96.2)
OKLCHoklch(0.783 0.151 100.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green72.9%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta9.7%
Yellow78.6%
Key (black)19.2%

Color previews

#ceba2c text on a black background

contrast 10.68:1

Card sample

#ceba2c text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceba2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceba2c in the Color Lab