Skip to content

#cfdf58

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

RGB
207, 223, 88
HSL
67°, 68%, 61%
CMYK
7, 0, 61, 13
Luminance
0.6675

Every format

HEX#cfdf58
RGBrgb(207, 223, 88)
HSLhsl(67, 68%, 61%)
CMYKcmyk(7%, 0%, 61%, 13%)
LABlab(85.4 -23.1 62.5)
LCHlch(85.4 66.6 110.3)
OKLCHoklch(0.866 0.159 115.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.2%
Green87.5%
Blue34.5%

CMYK percentages

Cyan7.2%
Magenta0.0%
Yellow60.5%
Key (black)12.5%

Color previews

#cfdf58 text on a black background

contrast 14.35:1

Card sample

#cfdf58 text on a white background

contrast 1.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cfdf58

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfdf58 in the Color Lab