Skip to content

#cdd950

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

RGB
205, 217, 80
HSL
65°, 64%, 58%
CMYK
6, 0, 63, 15
Luminance
0.6318

Every format

HEX#cdd950
RGBrgb(205, 217, 80)
HSLhsl(65, 64%, 58%)
CMYKcmyk(6%, 0%, 63%, 15%)
LABlab(83.5 -21.6 63.8)
LCHlch(83.5 67.3 108.7)
OKLCHoklch(0.851 0.159 114.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdd950 on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#cdd950 on black: 13.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green85.1%
Blue31.4%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow63.1%
Key (black)14.9%

Color previews

#cdd950 text on a black background

contrast 13.64:1

Card sample

#cdd950 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 217, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 217, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdd950;
background: linear-gradient(135deg, #cdd950, #71D950);

Monochromatic scale

Palettes built from #cdd950

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdd950 in the Color Lab