Skip to content

#c2cf5c

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

RGB
194, 207, 92
HSL
67°, 55%, 59%
CMYK
6, 0, 56, 19
Luminance
0.5687

Every format

HEX#c2cf5c
RGBrgb(194, 207, 92)
HSLhsl(67, 55%, 59%)
CMYKcmyk(6%, 0%, 56%, 19%)
LABlab(80.1 -20.3 54.6)
LCHlch(80.1 58.3 110.4)
OKLCHoklch(0.822 0.140 114.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red76.1%
Green81.2%
Blue36.1%

CMYK percentages

Cyan6.3%
Magenta0.0%
Yellow55.6%
Key (black)18.8%

Color previews

#c2cf5c text on a black background

contrast 12.37:1

Card sample

#c2cf5c text on a white background

contrast 1.70:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2cf5c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2cf5c in the Color Lab