Skip to content

#cfda32

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

RGB
207, 218, 50
HSL
64°, 69%, 53%
CMYK
5, 0, 77, 15
Luminance
0.6364

Every format

HEX#cfda32
RGBrgb(207, 218, 50)
HSLhsl(64, 69%, 53%)
CMYKcmyk(5%, 0%, 77%, 15%)
LABlab(83.8 -22.8 74.6)
LCHlch(83.8 78.0 107.0)
OKLCHoklch(0.852 0.177 113.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green85.5%
Blue19.6%

CMYK percentages

Cyan5.0%
Magenta0.0%
Yellow77.1%
Key (black)14.5%

Color previews

#cfda32 text on a black background

contrast 13.73:1

Card sample

#cfda32 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 218, 50, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 218, 50, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfda32;
background: linear-gradient(135deg, #cfda32, #5FDA32);

Monochromatic scale

Palettes built from #cfda32

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfda32 in the Color Lab