Skip to content

#c2ce45

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

RGB
194, 206, 69
HSL
65°, 58%, 54%
CMYK
6, 0, 67, 19
Luminance
0.5604

Every format

HEX#c2ce45
RGBrgb(194, 206, 69)
HSLhsl(65, 58%, 54%)
CMYKcmyk(6%, 0%, 67%, 19%)
LABlab(79.6 -21.4 63.8)
LCHlch(79.6 67.3 108.5)
OKLCHoklch(0.817 0.157 114.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2ce45 on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#c2ce45 on black: 12.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green80.8%
Blue27.1%

CMYK percentages

Cyan5.8%
Magenta0.0%
Yellow66.5%
Key (black)19.2%

Color previews

#c2ce45 text on a black background

contrast 12.21:1

Card sample

#c2ce45 text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 206, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 206, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2ce45;
background: linear-gradient(135deg, #c2ce45, #66CE45);

Monochromatic scale

Palettes built from #c2ce45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2ce45 in the Color Lab