Skip to content

#ceaf50

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

RGB
206, 175, 80
HSL
45°, 56%, 56%
CMYK
0, 15, 61, 19
Luminance
0.4436

Every format

HEX#ceaf50
RGBrgb(206, 175, 80)
HSLhsl(45, 56%, 56%)
CMYKcmyk(0%, 15%, 61%, 19%)
LABlab(72.5 0.2 51.8)
LCHlch(72.5 51.8 89.8)
OKLCHoklch(0.763 0.119 91.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceaf50 on white: 2.13:1
AA ✗ fail · AA-large · AAA
Aa
#ceaf50 on black: 9.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green68.6%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta15.0%
Yellow61.2%
Key (black)19.2%

Color previews

#ceaf50 text on a black background

contrast 9.87:1

Card sample

#ceaf50 text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(206, 175, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(206, 175, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ceaf50;
background: linear-gradient(135deg, #ceaf50, #99CE50);

Monochromatic scale

Palettes built from #ceaf50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceaf50 in the Color Lab