Skip to content

#caca50

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

RGB
202, 202, 80
HSL
60°, 54%, 55%
CMYK
0, 0, 60, 21
Luminance
0.5538

Every format

HEX#caca50
RGBrgb(202, 202, 80)
HSLhsl(60, 54%, 55%)
CMYKcmyk(0%, 0%, 60%, 21%)
LABlab(79.3 -15.4 59.1)
LCHlch(79.3 61.1 104.6)
OKLCHoklch(0.816 0.143 109.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caca50 on white: 1.74:1
AA ✗ fail · AA-large · AAA
Aa
#caca50 on black: 12.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green79.2%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow60.4%
Key (black)20.8%

Color previews

#caca50 text on a black background

contrast 12.08:1

Card sample

#caca50 text on a white background

contrast 1.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caca50

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caca50 in the Color Lab