Skip to content

#ced02f

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

RGB
206, 208, 47
HSL
61°, 63%, 50%
CMYK
1, 0, 77, 18
Luminance
0.5844

Every format

HEX#ced02f
RGBrgb(206, 208, 47)
HSLhsl(61, 63%, 50%)
CMYKcmyk(1%, 0%, 77%, 18%)
LABlab(81.0 -18.4 72.9)
LCHlch(81.0 75.2 104.2)
OKLCHoklch(0.830 0.169 110.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ced02f on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#ced02f on black: 12.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.8%
Green81.6%
Blue18.4%

CMYK percentages

Cyan1.0%
Magenta0.0%
Yellow77.4%
Key (black)18.4%

Color previews

#ced02f text on a black background

contrast 12.69:1

Card sample

#ced02f text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ced02f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ced02f in the Color Lab