Skip to content

#c2da49

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

RGB
194, 218, 73
HSL
70°, 66%, 57%
CMYK
11, 0, 67, 15
Luminance
0.6209

Every format

HEX#c2da49
RGBrgb(194, 218, 73)
HSLhsl(70, 66%, 57%)
CMYKcmyk(11%, 0%, 67%, 15%)
LABlab(83.0 -26.9 65.7)
LCHlch(83.0 71.0 112.3)
OKLCHoklch(0.844 0.168 118.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2da49 on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#c2da49 on black: 13.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green85.5%
Blue28.6%

CMYK percentages

Cyan11.0%
Magenta0.0%
Yellow66.5%
Key (black)14.5%

Color previews

#c2da49 text on a black background

contrast 13.42:1

Card sample

#c2da49 text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c2da49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2da49 in the Color Lab