Skip to content

#cfdf2b

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

RGB
207, 223, 43
HSL
65°, 74%, 52%
CMYK
7, 0, 81, 13
Luminance
0.6622

Every format

HEX#cfdf2b
RGBrgb(207, 223, 43)
HSLhsl(65, 74%, 52%)
CMYKcmyk(7%, 0%, 81%, 13%)
LABlab(85.1 -25.4 77.7)
LCHlch(85.1 81.7 108.1)
OKLCHoklch(0.863 0.185 115.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdf2b on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#cfdf2b on black: 14.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green87.5%
Blue16.9%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow80.7%
Key (black)12.5%

Color previews

#cfdf2b text on a black background

contrast 14.24:1

Card sample

#cfdf2b text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 223, 43, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 223, 43, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfdf2b;
background: linear-gradient(135deg, #cfdf2b, #57DF2B);

Monochromatic scale

Palettes built from #cfdf2b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf2b in the Color Lab