Skip to content

#cfdf23

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

RGB
207, 223, 35
HSL
65°, 75%, 51%
CMYK
7, 0, 84, 13
Luminance
0.6616

Every format

HEX#cfdf23
RGBrgb(207, 223, 35)
HSLhsl(65, 75%, 51%)
CMYKcmyk(7%, 0%, 84%, 13%)
LABlab(85.1 -25.6 79.5)
LCHlch(85.1 83.5 107.9)
OKLCHoklch(0.863 0.188 115.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdf23 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#cfdf23 on black: 14.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green87.5%
Blue13.7%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow84.3%
Key (black)12.5%

Color previews

#cfdf23 text on a black background

contrast 14.23:1

Card sample

#cfdf23 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf23

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf23 in the Color Lab