Skip to content

#cead2f

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

RGB
206, 173, 47
HSL
48°, 63%, 50%
CMYK
0, 16, 77, 19
Luminance
0.4321

Every format

HEX#cead2f
RGBrgb(206, 173, 47)
HSLhsl(48, 63%, 50%)
CMYKcmyk(0%, 16%, 77%, 19%)
LABlab(71.7 -0.5 64.5)
LCHlch(71.7 64.5 90.4)
OKLCHoklch(0.756 0.141 93.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cead2f on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#cead2f on black: 9.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green67.8%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta16.0%
Yellow77.2%
Key (black)19.2%

Color previews

#cead2f text on a black background

contrast 9.64:1

Card sample

#cead2f text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cead2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cead2f in the Color Lab