Skip to content

#c0ba49

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

RGB
192, 186, 73
HSL
57°, 49%, 52%
CMYK
0, 3, 62, 25
Luminance
0.4681

Every format

HEX#c0ba49
RGBrgb(192, 186, 73)
HSLhsl(57, 49%, 52%)
CMYKcmyk(0%, 3%, 62%, 25%)
LABlab(74.1 -12.0 56.3)
LCHlch(74.1 57.5 102.0)
OKLCHoklch(0.772 0.134 106.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c0ba49 on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#c0ba49 on black: 10.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green72.9%
Blue28.6%

CMYK percentages

Cyan0.0%
Magenta3.1%
Yellow62.0%
Key (black)24.7%

Color previews

#c0ba49 text on a black background

contrast 10.36:1

Card sample

#c0ba49 text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 186, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 186, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c0ba49;
background: linear-gradient(135deg, #c0ba49, #77C049);

Monochromatic scale

Palettes built from #c0ba49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c0ba49 in the Color Lab