Skip to content

#caca5f

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

RGB
202, 202, 95
HSL
60°, 50%, 58%
CMYK
0, 0, 53, 21
Luminance
0.5562

Every format

HEX#caca5f
RGBrgb(202, 202, 95)
HSLhsl(60, 50%, 58%)
CMYKcmyk(0%, 0%, 53%, 21%)
LABlab(79.4 -14.3 52.6)
LCHlch(79.4 54.5 105.2)
OKLCHoklch(0.818 0.130 109.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caca5f on white: 1.73:1
AA ✗ fail · AA-large · AAA
Aa
#caca5f on black: 12.12:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green79.2%
Blue37.3%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow53.0%
Key (black)20.8%

Color previews

#caca5f text on a black background

contrast 12.12:1

Card sample

#caca5f text on a white background

contrast 1.73:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caca5f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caca5f in the Color Lab