Skip to content

#c9cf3d

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

RGB
201, 207, 61
HSL
63°, 60%, 53%
CMYK
3, 0, 71, 19
Luminance
0.5738

Every format

HEX#c9cf3d
RGBrgb(201, 207, 61)
HSLhsl(63, 60%, 53%)
CMYKcmyk(3%, 0%, 71%, 19%)
LABlab(80.4 -19.4 67.7)
LCHlch(80.4 70.4 106.0)
OKLCHoklch(0.824 0.162 111.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c9cf3d on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#c9cf3d on black: 12.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.8%
Green81.2%
Blue23.9%

CMYK percentages

Cyan2.9%
Magenta0.0%
Yellow70.5%
Key (black)18.8%

Color previews

#c9cf3d text on a black background

contrast 12.48:1

Card sample

#c9cf3d text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(201, 207, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(201, 207, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c9cf3d;
background: linear-gradient(135deg, #c9cf3d, #67CF3D);

Monochromatic scale

Palettes built from #c9cf3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c9cf3d in the Color Lab