Skip to content

#c2c749

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

RGB
194, 199, 73
HSL
62°, 53%, 53%
CMYK
3, 0, 63, 22
Luminance
0.5280

Every format

HEX#c2c749
RGBrgb(194, 199, 73)
HSLhsl(62, 53%, 53%)
CMYKcmyk(3%, 0%, 63%, 22%)
LABlab(77.8 -17.7 60.3)
LCHlch(77.8 62.8 106.4)
OKLCHoklch(0.802 0.147 111.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2c749 on white: 1.82:1
AA ✗ fail · AA-large · AAA
Aa
#c2c749 on black: 11.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green78.0%
Blue28.6%

CMYK percentages

Cyan2.5%
Magenta0.0%
Yellow63.3%
Key (black)22.0%

Color previews

#c2c749 text on a black background

contrast 11.56:1

Card sample

#c2c749 text on a white background

contrast 1.82:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 199, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 199, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2c749;
background: linear-gradient(135deg, #c2c749, #6EC749);

Monochromatic scale

Palettes built from #c2c749

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2c749 in the Color Lab