Skip to content

#cfdb20

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

RGB
207, 219, 32
HSL
64°, 75%, 49%
CMYK
6, 0, 85, 14
Luminance
0.6403

Every format

HEX#cfdb20
RGBrgb(207, 219, 32)
HSLhsl(64, 75%, 49%)
CMYKcmyk(6%, 0%, 85%, 14%)
LABlab(84.0 -23.8 79.2)
LCHlch(84.0 82.7 106.7)
OKLCHoklch(0.854 0.185 113.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdb20 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#cfdb20 on black: 13.81:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green85.9%
Blue12.5%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow85.4%
Key (black)14.1%

Color previews

#cfdb20 text on a black background

contrast 13.81:1

Card sample

#cfdb20 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 219, 32, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 219, 32, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfdb20;
background: linear-gradient(135deg, #cfdb20, #52DB20);

Monochromatic scale

Palettes built from #cfdb20

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdb20 in the Color Lab