Skip to content

#cfdb92

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

RGB
207, 219, 146
HSL
70°, 50%, 72%
CMYK
6, 0, 33, 14
Luminance
0.6600

Every format

HEX#cfdb92
RGBrgb(207, 219, 146)
HSLhsl(70, 50%, 72%)
CMYKcmyk(6%, 0%, 33%, 14%)
LABlab(85.0 -15.5 34.6)
LCHlch(85.0 37.9 114.2)
OKLCHoklch(0.865 0.096 116.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfdb92 on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#cfdb92 on black: 14.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green85.9%
Blue57.3%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow33.3%
Key (black)14.1%

Color previews

#cfdb92 text on a black background

contrast 14.20:1

Card sample

#cfdb92 text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdb92

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdb92 in the Color Lab