Skip to content

#cfdf65

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

RGB
207, 223, 101
HSL
68°, 66%, 64%
CMYK
7, 0, 55, 13
Luminance
0.6698

Every format

HEX#cfdf65
RGBrgb(207, 223, 101)
HSLhsl(68, 66%, 64%)
CMYKcmyk(7%, 0%, 55%, 13%)
LABlab(85.5 -22.2 57.0)
LCHlch(85.5 61.1 111.3)
OKLCHoklch(0.867 0.148 115.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow54.7%
Key (black)12.5%

Color previews

#cfdf65 text on a black background

contrast 14.40:1

Card sample

#cfdf65 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf65

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf65 in the Color Lab