Skip to content

#cfdb68

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

RGB
207, 219, 104
HSL
66°, 62%, 63%
CMYK
6, 0, 53, 14
Luminance
0.6493

Every format

HEX#cfdb68
RGBrgb(207, 219, 104)
HSLhsl(66, 62%, 63%)
CMYKcmyk(6%, 0%, 53%, 14%)
LABlab(84.5 -20.0 54.4)
LCHlch(84.5 58.0 110.1)
OKLCHoklch(0.859 0.140 114.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdb68 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#cfdb68 on black: 13.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green85.9%
Blue40.8%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow52.5%
Key (black)14.1%

Color previews

#cfdb68 text on a black background

contrast 13.99:1

Card sample

#cfdb68 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdb68

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdb68 in the Color Lab