Skip to content

#cad47f

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

RGB
202, 212, 127
HSL
67°, 50%, 67%
CMYK
5, 0, 40, 17
Luminance
0.6118

Every format

HEX#cad47f
RGBrgb(202, 212, 127)
HSLhsl(67, 50%, 67%)
CMYKcmyk(5%, 0%, 40%, 17%)
LABlab(82.5 -16.2 40.9)
LCHlch(82.5 44.0 111.6)
OKLCHoklch(0.843 0.109 114.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cad47f on white: 1.59:1
AA ✗ fail · AA-large · AAA
Aa
#cad47f on black: 13.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green83.1%
Blue49.8%

CMYK percentages

Cyan4.7%
Magenta0.0%
Yellow40.1%
Key (black)16.9%

Color previews

#cad47f text on a black background

contrast 13.24:1

Card sample

#cad47f text on a white background

contrast 1.59:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 212, 127, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 212, 127, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cad47f;
background: linear-gradient(135deg, #cad47f, #91D47F);

Monochromatic scale

Palettes built from #cad47f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cad47f in the Color Lab