Skip to content

#ceba39

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

RGB
206, 186, 57
HSL
52°, 60%, 52%
CMYK
0, 10, 72, 19
Luminance
0.4854

Every format

HEX#ceba39
RGBrgb(206, 186, 57)
HSLhsl(52, 60%, 52%)
CMYKcmyk(0%, 10%, 72%, 19%)
LABlab(75.2 -6.9 64.2)
LCHlch(75.2 64.6 96.1)
OKLCHoklch(0.784 0.144 100.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ceba39 on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#ceba39 on black: 10.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green72.9%
Blue22.4%

CMYK percentages

Cyan0.0%
Magenta9.7%
Yellow72.3%
Key (black)19.2%

Color previews

#ceba39 text on a black background

contrast 10.71:1

Card sample

#ceba39 text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ceba39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ceba39 in the Color Lab