Skip to content

#ceba4d

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

RGB
206, 186, 77
HSL
51°, 57%, 56%
CMYK
0, 10, 63, 19
Luminance
0.4878

Every format

HEX#ceba4d
RGBrgb(206, 186, 77)
HSLhsl(51, 57%, 56%)
CMYKcmyk(0%, 10%, 63%, 19%)
LABlab(75.3 -5.8 56.3)
LCHlch(75.3 56.5 95.9)
OKLCHoklch(0.785 0.130 98.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceba4d on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#ceba4d on black: 10.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green72.9%
Blue30.2%

CMYK percentages

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

Color previews

#ceba4d text on a black background

contrast 10.76:1

Card sample

#ceba4d text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceba4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceba4d in the Color Lab