Skip to content

#cace12

a dark, electric yellow · cool · closest name: gold

RGB
202, 206, 18
HSL
61°, 84%, 44%
CMYK
2, 0, 91, 19
Luminance
0.5674

Every format

HEX#cace12
RGBrgb(202, 206, 18)
HSLhsl(61, 84%, 44%)
CMYKcmyk(2%, 0%, 91%, 19%)
LABlab(80.0 -19.9 78.2)
LCHlch(80.0 80.7 104.2)
OKLCHoklch(0.821 0.178 111.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cace12 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#cace12 on black: 12.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green80.8%
Blue7.1%

CMYK percentages

Cyan1.9%
Magenta0.0%
Yellow91.3%
Key (black)19.2%

Color previews

#cace12 text on a black background

contrast 12.35:1

Card sample

#cace12 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cace12

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cace12 in the Color Lab