Skip to content

#cfdb71

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

RGB
207, 219, 113
HSL
67°, 60%, 65%
CMYK
6, 0, 48, 14
Luminance
0.6512

Every format

HEX#cfdb71
RGBrgb(207, 219, 113)
HSLhsl(67, 60%, 65%)
CMYKcmyk(6%, 0%, 48%, 14%)
LABlab(84.5 -19.2 50.3)
LCHlch(84.5 53.9 110.8)
OKLCHoklch(0.860 0.132 114.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green85.9%
Blue44.3%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow48.4%
Key (black)14.1%

Color previews

#cfdb71 text on a black background

contrast 14.02:1

Card sample

#cfdb71 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdb71

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdb71 in the Color Lab