Skip to content

#c4cf45

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

RGB
196, 207, 69
HSL
65°, 59%, 54%
CMYK
5, 0, 67, 19
Luminance
0.5679

Every format

HEX#c4cf45
RGBrgb(196, 207, 69)
HSLhsl(65, 59%, 54%)
CMYKcmyk(5%, 0%, 67%, 19%)
LABlab(80.1 -21.1 64.3)
LCHlch(80.1 67.7 108.1)
OKLCHoklch(0.821 0.158 113.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c4cf45 on white: 1.70:1
AA ✗ fail · AA-large · AAA
Aa
#c4cf45 on black: 12.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.9%
Green81.2%
Blue27.1%

CMYK percentages

Cyan5.3%
Magenta0.0%
Yellow66.7%
Key (black)18.8%

Color previews

#c4cf45 text on a black background

contrast 12.36:1

Card sample

#c4cf45 text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(196, 207, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(196, 207, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c4cf45;
background: linear-gradient(135deg, #c4cf45, #68CF45);

Monochromatic scale

Palettes built from #c4cf45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c4cf45 in the Color Lab