Skip to content

#ceba5d

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

RGB
206, 186, 93
HSL
49°, 54%, 59%
CMYK
0, 10, 55, 19
Luminance
0.4903

Every format

HEX#ceba5d
RGBrgb(206, 186, 93)
HSLhsl(49, 54%, 59%)
CMYKcmyk(0%, 10%, 55%, 19%)
LABlab(75.5 -4.6 49.1)
LCHlch(75.5 49.3 95.4)
OKLCHoklch(0.787 0.116 97.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceba5d on white: 1.94:1
AA ✗ fail · AA-large · AAA
Aa
#ceba5d on black: 10.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green72.9%
Blue36.5%

CMYK percentages

Cyan0.0%
Magenta9.7%
Yellow54.9%
Key (black)19.2%

Color previews

#ceba5d text on a black background

contrast 10.81:1

Card sample

#ceba5d text on a white background

contrast 1.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceba5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceba5d in the Color Lab