Skip to content

#c3ba45

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

RGB
195, 186, 69
HSL
56°, 51%, 52%
CMYK
0, 5, 65, 24
Luminance
0.4715

Every format

HEX#c3ba45
RGBrgb(195, 186, 69)
HSLhsl(56, 51%, 52%)
CMYKcmyk(0%, 5%, 65%, 24%)
LABlab(74.3 -10.9 58.3)
LCHlch(74.3 59.3 100.6)
OKLCHoklch(0.775 0.137 104.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c3ba45 on white: 2.01:1
AA ✗ fail · AA-large · AAA
Aa
#c3ba45 on black: 10.43:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.5%
Green72.9%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta4.6%
Yellow64.6%
Key (black)23.5%

Color previews

#c3ba45 text on a black background

contrast 10.43:1

Card sample

#c3ba45 text on a white background

contrast 2.01:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(195, 186, 69, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(195, 186, 69, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c3ba45;
background: linear-gradient(135deg, #c3ba45, #78C345);

Monochromatic scale

Palettes built from #c3ba45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c3ba45 in the Color Lab