Skip to content

#cad166

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

RGB
202, 209, 102
HSL
64°, 54%, 61%
CMYK
3, 0, 51, 18
Luminance
0.5912

Every format

HEX#cad166
RGBrgb(202, 209, 102)
HSLhsl(64, 54%, 61%)
CMYKcmyk(3%, 0%, 51%, 18%)
LABlab(81.4 -17.2 51.6)
LCHlch(81.4 54.4 108.4)
OKLCHoklch(0.833 0.131 112.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cad166 on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#cad166 on black: 12.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green82.0%
Blue40.0%

CMYK percentages

Cyan3.3%
Magenta0.0%
Yellow51.2%
Key (black)18.0%

Color previews

#cad166 text on a black background

contrast 12.82:1

Card sample

#cad166 text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 209, 102, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 209, 102, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cad166;
background: linear-gradient(135deg, #cad166, #83D166);

Monochromatic scale

Palettes built from #cad166

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cad166 in the Color Lab