Skip to content

#c7db49

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

RGB
199, 219, 73
HSL
68°, 67%, 57%
CMYK
9, 0, 67, 14
Luminance
0.6329

Every format

HEX#c7db49
RGBrgb(199, 219, 73)
HSLhsl(68, 67%, 57%)
CMYKcmyk(9%, 0%, 67%, 14%)
LABlab(83.6 -25.4 66.4)
LCHlch(83.6 71.1 110.9)
OKLCHoklch(0.850 0.168 116.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red78.0%
Green85.9%
Blue28.6%

CMYK percentages

Cyan9.1%
Magenta0.0%
Yellow66.7%
Key (black)14.1%

Color previews

#c7db49 text on a black background

contrast 13.66:1

Card sample

#c7db49 text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c7db49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c7db49 in the Color Lab