Skip to content

#cad950

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

RGB
202, 217, 80
HSL
67°, 64%, 58%
CMYK
7, 0, 63, 15
Luminance
0.6276

Every format

HEX#cad950
RGBrgb(202, 217, 80)
HSLhsl(67, 64%, 58%)
CMYKcmyk(7%, 0%, 63%, 15%)
LABlab(83.3 -22.8 63.5)
LCHlch(83.3 67.4 109.8)
OKLCHoklch(0.848 0.159 115.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cad950 on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#cad950 on black: 13.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green85.1%
Blue31.4%

CMYK percentages

Cyan6.9%
Magenta0.0%
Yellow63.1%
Key (black)14.9%

Color previews

#cad950 text on a black background

contrast 13.55:1

Card sample

#cad950 text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cad950

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cad950 in the Color Lab