Skip to content

#cebc2d

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

RGB
206, 188, 45
HSL
53°, 64%, 49%
CMYK
0, 9, 78, 19
Luminance
0.4928

Every format

HEX#cebc2d
RGBrgb(206, 188, 45)
HSLhsl(53, 64%, 49%)
CMYKcmyk(0%, 9%, 78%, 19%)
LABlab(75.6 -8.4 68.7)
LCHlch(75.6 69.2 97.0)
OKLCHoklch(0.787 0.152 101.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cebc2d on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#cebc2d on black: 10.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green73.7%
Blue17.6%

CMYK percentages

Cyan0.0%
Magenta8.7%
Yellow78.2%
Key (black)19.2%

Color previews

#cebc2d text on a black background

contrast 10.86:1

Card sample

#cebc2d text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cebc2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cebc2d in the Color Lab