Skip to content

#cfdf68

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

RGB
207, 223, 104
HSL
68°, 65%, 64%
CMYK
7, 0, 53, 13
Luminance
0.6704

Every format

HEX#cfdf68
RGBrgb(207, 223, 104)
HSLhsl(68, 65%, 64%)
CMYKcmyk(7%, 0%, 53%, 13%)
LABlab(85.5 -21.9 55.7)
LCHlch(85.5 59.8 111.5)
OKLCHoklch(0.868 0.145 115.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green87.5%
Blue40.8%

CMYK percentages

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

Color previews

#cfdf68 text on a black background

contrast 14.41:1

Card sample

#cfdf68 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf68

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf68 in the Color Lab