Skip to content

#cfda2c

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

RGB
207, 218, 44
HSL
64°, 70%, 51%
CMYK
5, 0, 80, 15
Luminance
0.6359

Every format

HEX#cfda2c
RGBrgb(207, 218, 44)
HSLhsl(64, 70%, 51%)
CMYKcmyk(5%, 0%, 80%, 15%)
LABlab(83.8 -23.0 76.2)
LCHlch(83.8 79.6 106.8)
OKLCHoklch(0.852 0.180 113.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green85.5%
Blue17.3%

CMYK percentages

Cyan5.0%
Magenta0.0%
Yellow79.8%
Key (black)14.5%

Color previews

#cfda2c text on a black background

contrast 13.72:1

Card sample

#cfda2c text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfda2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfda2c in the Color Lab