Skip to content

#cebf2f

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

RGB
206, 191, 47
HSL
54°, 63%, 50%
CMYK
0, 7, 77, 19
Luminance
0.5059

Every format

HEX#cebf2f
RGBrgb(206, 191, 47)
HSLhsl(54, 63%, 50%)
CMYKcmyk(0%, 7%, 77%, 19%)
LABlab(76.4 -9.9 68.8)
LCHlch(76.4 69.5 98.2)
OKLCHoklch(0.793 0.154 103.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cebf2f on white: 1.89:1
AA ✗ fail · AA-large · AAA
Aa
#cebf2f on black: 11.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green74.9%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta7.3%
Yellow77.2%
Key (black)19.2%

Color previews

#cebf2f text on a black background

contrast 11.12:1

Card sample

#cebf2f text on a white background

contrast 1.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cebf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cebf2f in the Color Lab