Skip to content

#cadb3f

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

RGB
202, 219, 63
HSL
67°, 68%, 55%
CMYK
8, 0, 71, 14
Luminance
0.6358

Every format

HEX#cadb3f
RGBrgb(202, 219, 63)
HSLhsl(67, 68%, 55%)
CMYKcmyk(8%, 0%, 71%, 14%)
LABlab(83.8 -24.7 70.3)
LCHlch(83.8 74.5 109.4)
OKLCHoklch(0.851 0.173 115.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cadb3f on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#cadb3f on black: 13.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green85.9%
Blue24.7%

CMYK percentages

Cyan7.8%
Magenta0.0%
Yellow71.2%
Key (black)14.1%

Color previews

#cadb3f text on a black background

contrast 13.72:1

Card sample

#cadb3f text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cadb3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cadb3f in the Color Lab