Skip to content

#ceb749

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

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

Every format

HEX#ceb749
RGBrgb(206, 183, 73)
HSLhsl(50, 58%, 55%)
CMYKcmyk(0%, 11%, 65%, 19%)
LABlab(74.5 -4.5 57.1)
LCHlch(74.5 57.3 94.5)
OKLCHoklch(0.779 0.131 97.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceb749 on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#ceb749 on black: 10.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green71.8%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta11.2%
Yellow64.6%
Key (black)19.2%

Color previews

#ceb749 text on a black background

contrast 10.49:1

Card sample

#ceb749 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceb749

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceb749 in the Color Lab