Skip to content

#cfdf2e

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

RGB
207, 223, 46
HSL
65°, 73%, 53%
CMYK
7, 0, 79, 13
Luminance
0.6624

Every format

HEX#cfdf2e
RGBrgb(207, 223, 46)
HSLhsl(65, 73%, 53%)
CMYKcmyk(7%, 0%, 79%, 13%)
LABlab(85.1 -25.3 76.9)
LCHlch(85.1 81.0 108.2)
OKLCHoklch(0.863 0.184 115.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green87.5%
Blue18.0%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow79.4%
Key (black)12.5%

Color previews

#cfdf2e text on a black background

contrast 14.25:1

Card sample

#cfdf2e text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf2e in the Color Lab