Skip to content

#caca3f

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

RGB
202, 202, 63
HSL
60°, 57%, 52%
CMYK
0, 0, 69, 21
Luminance
0.5516

Every format

HEX#caca3f
RGBrgb(202, 202, 63)
HSLhsl(60, 57%, 52%)
CMYKcmyk(0%, 0%, 69%, 21%)
LABlab(79.1 -16.4 65.8)
LCHlch(79.1 67.8 104.0)
OKLCHoklch(0.815 0.155 109.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#caca3f on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#caca3f on black: 12.03:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green79.2%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow68.8%
Key (black)20.8%

Color previews

#caca3f text on a black background

contrast 12.03:1

Card sample

#caca3f text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #caca3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #caca3f in the Color Lab