Skip to content

#cfdf64

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

RGB
207, 223, 100
HSL
68°, 66%, 63%
CMYK
7, 0, 55, 13
Luminance
0.6696

Every format

HEX#cfdf64
RGBrgb(207, 223, 100)
HSLhsl(68, 66%, 63%)
CMYKcmyk(7%, 0%, 55%, 13%)
LABlab(85.5 -22.2 57.4)
LCHlch(85.5 61.6 111.2)
OKLCHoklch(0.867 0.148 115.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdf64 on white: 1.46:1
AA ✗ fail · AA-large · AAA
Aa
#cfdf64 on black: 14.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green87.5%
Blue39.2%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow55.2%
Key (black)12.5%

Color previews

#cfdf64 text on a black background

contrast 14.39:1

Card sample

#cfdf64 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf64 in the Color Lab