Skip to content

#cfdb4d

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

RGB
207, 219, 77
HSL
65°, 66%, 58%
CMYK
6, 0, 65, 14
Luminance
0.6446

Every format

HEX#cfdb4d
RGBrgb(207, 219, 77)
HSLhsl(65, 66%, 58%)
CMYKcmyk(6%, 0%, 65%, 14%)
LABlab(84.2 -21.9 65.7)
LCHlch(84.2 69.3 108.5)
OKLCHoklch(0.856 0.163 114.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green85.9%
Blue30.2%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow64.8%
Key (black)14.1%

Color previews

#cfdb4d text on a black background

contrast 13.89:1

Card sample

#cfdb4d text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdb4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdb4d in the Color Lab