Skip to content

#ceaf4b

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

RGB
206, 175, 75
HSL
46°, 57%, 55%
CMYK
0, 15, 64, 19
Luminance
0.4429

Every format

HEX#ceaf4b
RGBrgb(206, 175, 75)
HSLhsl(46, 57%, 55%)
CMYKcmyk(0%, 15%, 64%, 19%)
LABlab(72.4 -0.1 54.0)
LCHlch(72.4 54.0 90.1)
OKLCHoklch(0.762 0.123 91.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green68.6%
Blue29.4%

CMYK percentages

Cyan0.0%
Magenta15.0%
Yellow63.6%
Key (black)19.2%

Color previews

#ceaf4b text on a black background

contrast 9.86:1

Card sample

#ceaf4b text on a white background

contrast 2.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceaf4b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceaf4b in the Color Lab