Skip to content

#cfdb59

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

RGB
207, 219, 89
HSL
66°, 64%, 60%
CMYK
6, 0, 59, 14
Luminance
0.6465

Every format

HEX#cfdb59
RGBrgb(207, 219, 89)
HSLhsl(66, 64%, 60%)
CMYKcmyk(6%, 0%, 59%, 14%)
LABlab(84.3 -21.1 60.9)
LCHlch(84.3 64.5 109.1)
OKLCHoklch(0.857 0.153 114.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green85.9%
Blue34.9%

CMYK percentages

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

Color previews

#cfdb59 text on a black background

contrast 13.93:1

Card sample

#cfdb59 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdb59

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdb59 in the Color Lab