Skip to content

#c5db49

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

RGB
197, 219, 73
HSL
69°, 67%, 57%
CMYK
10, 0, 67, 14
Luminance
0.6301

Every format

HEX#c5db49
RGBrgb(197, 219, 73)
HSLhsl(69, 67%, 57%)
CMYKcmyk(10%, 0%, 67%, 14%)
LABlab(83.5 -26.2 66.3)
LCHlch(83.5 71.3 111.6)
OKLCHoklch(0.848 0.168 117.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c5db49 on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#c5db49 on black: 13.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red77.3%
Green85.9%
Blue28.6%

CMYK percentages

Cyan10.0%
Magenta0.0%
Yellow66.7%
Key (black)14.1%

Color previews

#c5db49 text on a black background

contrast 13.60:1

Card sample

#c5db49 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(197, 219, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(197, 219, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c5db49;
background: linear-gradient(135deg, #c5db49, #64DB49);

Monochromatic scale

Palettes built from #c5db49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c5db49 in the Color Lab