Skip to content

#cda608

a dark, electric yellow · cool · closest name: gold

RGB
205, 166, 8
HSL
48°, 93%, 42%
CMYK
0, 19, 96, 20
Luminance
0.4027

Every format

HEX#cda608
RGBrgb(205, 166, 8)
HSLhsl(48, 93%, 42%)
CMYKcmyk(0%, 19%, 96%, 20%)
LABlab(69.7 1.9 71.8)
LCHlch(69.7 71.8 88.5)
OKLCHoklch(0.739 0.150 91.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cda608 on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#cda608 on black: 9.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green65.1%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta19.0%
Yellow96.1%
Key (black)19.6%

Color previews

#cda608 text on a black background

contrast 9.05:1

Card sample

#cda608 text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cda608

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cda608 in the Color Lab