Skip to content

#ceb849

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

RGB
206, 184, 73
HSL
50°, 58%, 55%
CMYK
0, 11, 65, 19
Luminance
0.4788

Every format

HEX#ceb849
RGBrgb(206, 184, 73)
HSLhsl(50, 58%, 55%)
CMYKcmyk(0%, 11%, 65%, 19%)
LABlab(74.8 -5.0 57.4)
LCHlch(74.8 57.6 95.0)
OKLCHoklch(0.781 0.132 98.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceb849 on white: 1.99:1
AA ✗ fail · AA-large · AAA
Aa
#ceb849 on black: 10.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green72.2%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta10.7%
Yellow64.6%
Key (black)19.2%

Color previews

#ceb849 text on a black background

contrast 10.58:1

Card sample

#ceb849 text on a white background

contrast 1.99:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceb849

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceb849 in the Color Lab