Skip to content

#ceba2f

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

RGB
206, 186, 47
HSL
53°, 63%, 50%
CMYK
0, 10, 77, 19
Luminance
0.4844

Every format

HEX#ceba2f
RGBrgb(206, 186, 47)
HSLhsl(53, 63%, 50%)
CMYKcmyk(0%, 10%, 77%, 19%)
LABlab(75.1 -7.3 67.6)
LCHlch(75.1 68.0 96.2)
OKLCHoklch(0.783 0.150 100.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceba2f on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#ceba2f on black: 10.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green72.9%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta9.7%
Yellow77.2%
Key (black)19.2%

Color previews

#ceba2f text on a black background

contrast 10.69:1

Card sample

#ceba2f text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceba2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceba2f in the Color Lab