Skip to content

#cdaf3d

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

RGB
205, 175, 61
HSL
48°, 59%, 52%
CMYK
0, 15, 70, 20
Luminance
0.4398

Every format

HEX#cdaf3d
RGBrgb(205, 175, 61)
HSLhsl(48, 59%, 52%)
CMYKcmyk(0%, 15%, 70%, 20%)
LABlab(72.2 -1.4 59.7)
LCHlch(72.2 59.8 91.3)
OKLCHoklch(0.760 0.134 94.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdaf3d on white: 2.14:1
AA ✗ fail · AA-large · AAA
Aa
#cdaf3d on black: 9.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green68.6%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta14.6%
Yellow70.2%
Key (black)19.6%

Color previews

#cdaf3d text on a black background

contrast 9.80:1

Card sample

#cdaf3d text on a white background

contrast 2.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 175, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 175, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdaf3d;
background: linear-gradient(135deg, #cdaf3d, #8BCD3D);

Monochromatic scale

Palettes built from #cdaf3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdaf3d in the Color Lab