Skip to content

#c8cf71

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

RGB
200, 207, 113
HSL
65°, 50%, 63%
CMYK
3, 0, 45, 19
Luminance
0.5810

Every format

HEX#c8cf71
RGBrgb(200, 207, 113)
HSLhsl(65, 50%, 63%)
CMYKcmyk(3%, 0%, 45%, 19%)
LABlab(80.8 -16.0 45.7)
LCHlch(80.8 48.4 109.3)
OKLCHoklch(0.829 0.118 112.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c8cf71 on white: 1.66:1
AA ✗ fail · AA-large · AAA
Aa
#c8cf71 on black: 12.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red78.4%
Green81.2%
Blue44.3%

CMYK percentages

Cyan3.4%
Magenta0.0%
Yellow45.4%
Key (black)18.8%

Color previews

#c8cf71 text on a black background

contrast 12.62:1

Card sample

#c8cf71 text on a white background

contrast 1.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c8cf71

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c8cf71 in the Color Lab