Skip to content

#cda950

a balanced, vivid yellow · warm · closest name: peru

RGB
205, 169, 80
HSL
43°, 56%, 56%
CMYK
0, 18, 61, 20
Luminance
0.4193

Every format

HEX#cda950
RGBrgb(205, 169, 80)
HSLhsl(43, 56%, 56%)
CMYKcmyk(0%, 18%, 61%, 20%)
LABlab(70.8 3.0 49.9)
LCHlch(70.8 50.0 86.6)
OKLCHoklch(0.750 0.116 87.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cda950 on white: 2.24:1
AA ✗ fail · AA-large · AAA
Aa
#cda950 on black: 9.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green66.3%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta17.6%
Yellow61.0%
Key (black)19.6%

Color previews

#cda950 text on a black background

contrast 9.39:1

Card sample

#cda950 text on a white background

contrast 2.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cda950

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cda950 in the Color Lab