Skip to content

#cace46

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

RGB
202, 206, 70
HSL
62°, 58%, 54%
CMYK
2, 0, 66, 19
Luminance
0.5714

Every format

HEX#cace46
RGBrgb(202, 206, 70)
HSLhsl(62, 58%, 54%)
CMYKcmyk(2%, 0%, 66%, 19%)
LABlab(80.3 -18.0 64.3)
LCHlch(80.3 66.7 105.7)
OKLCHoklch(0.824 0.155 111.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cace46 on white: 1.69:1
AA ✗ fail · AA-large · AAA
Aa
#cace46 on black: 12.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green80.8%
Blue27.5%

CMYK percentages

Cyan1.9%
Magenta0.0%
Yellow66.0%
Key (black)19.2%

Color previews

#cace46 text on a black background

contrast 12.43:1

Card sample

#cace46 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cace46

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cace46 in the Color Lab