Skip to content

#cad430

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

RGB
202, 212, 48
HSL
64°, 66%, 51%
CMYK
5, 0, 77, 17
Luminance
0.5986

Every format

HEX#cad430
RGBrgb(202, 212, 48)
HSLhsl(64, 66%, 51%)
CMYKcmyk(5%, 0%, 77%, 17%)
LABlab(81.8 -22.0 73.2)
LCHlch(81.8 76.5 106.7)
OKLCHoklch(0.835 0.174 113.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cad430 on white: 1.62:1
AA ✗ fail · AA-large · AAA
Aa
#cad430 on black: 12.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green83.1%
Blue18.8%

CMYK percentages

Cyan4.7%
Magenta0.0%
Yellow77.4%
Key (black)16.9%

Color previews

#cad430 text on a black background

contrast 12.97:1

Card sample

#cad430 text on a white background

contrast 1.62:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(202, 212, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(202, 212, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cad430;
background: linear-gradient(135deg, #cad430, #5DD430);

Monochromatic scale

Palettes built from #cad430

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cad430 in the Color Lab