Skip to content

#cadf0f

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

RGB
202, 223, 15
HSL
66°, 87%, 47%
CMYK
9, 0, 93, 13
Luminance
0.6537

Every format

HEX#cadf0f
RGBrgb(202, 223, 15)
HSLhsl(66, 87%, 47%)
CMYKcmyk(9%, 0%, 93%, 13%)
LABlab(84.7 -28.1 82.2)
LCHlch(84.7 86.8 108.9)
OKLCHoklch(0.858 0.195 116.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cadf0f on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#cadf0f on black: 14.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.2%
Green87.5%
Blue5.9%

CMYK percentages

Cyan9.4%
Magenta0.0%
Yellow93.3%
Key (black)12.5%

Color previews

#cadf0f text on a black background

contrast 14.07:1

Card sample

#cadf0f text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cadf0f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cadf0f in the Color Lab