Skip to content

#cebc2f

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

RGB
206, 188, 47
HSL
53°, 63%, 50%
CMYK
0, 9, 77, 19
Luminance
0.4929

Every format

HEX#cebc2f
RGBrgb(206, 188, 47)
HSLhsl(53, 63%, 50%)
CMYKcmyk(0%, 9%, 77%, 19%)
LABlab(75.6 -8.3 68.1)
LCHlch(75.6 68.6 97.0)
OKLCHoklch(0.787 0.151 101.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red80.8%
Green73.7%
Blue18.4%

CMYK percentages

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

Color previews

#cebc2f text on a black background

contrast 10.86:1

Card sample

#cebc2f text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cebc2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cebc2f in the Color Lab