Skip to content

#ceba45

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

RGB
206, 186, 69
HSL
51°, 58%, 54%
CMYK
0, 10, 67, 19
Luminance
0.4867

Every format

HEX#ceba45
RGBrgb(206, 186, 69)
HSLhsl(51, 58%, 54%)
CMYKcmyk(0%, 10%, 67%, 19%)
LABlab(75.3 -6.3 59.6)
LCHlch(75.3 59.9 96.0)
OKLCHoklch(0.784 0.136 99.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green72.9%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta9.7%
Yellow66.5%
Key (black)19.2%

Color previews

#ceba45 text on a black background

contrast 10.73:1

Card sample

#ceba45 text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceba45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceba45 in the Color Lab