Skip to content

#cfda68

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

RGB
207, 218, 104
HSL
66°, 61%, 63%
CMYK
5, 0, 52, 15
Luminance
0.6441

Every format

HEX#cfda68
RGBrgb(207, 218, 104)
HSLhsl(66, 61%, 63%)
CMYKcmyk(5%, 0%, 52%, 15%)
LABlab(84.2 -19.5 54.1)
LCHlch(84.2 57.5 109.8)
OKLCHoklch(0.857 0.139 113.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfda68 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#cfda68 on black: 13.88:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green85.5%
Blue40.8%

CMYK percentages

Cyan5.0%
Magenta0.0%
Yellow52.3%
Key (black)14.5%

Color previews

#cfda68 text on a black background

contrast 13.88:1

Card sample

#cfda68 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfda68

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfda68 in the Color Lab