Skip to content

#c3b45b

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

RGB
195, 180, 91
HSL
51°, 46%, 56%
CMYK
0, 8, 53, 24
Luminance
0.4500

Every format

HEX#c3b45b
RGBrgb(195, 180, 91)
HSLhsl(51, 46%, 56%)
CMYKcmyk(0%, 8%, 53%, 24%)
LABlab(72.9 -6.2 46.8)
LCHlch(72.9 47.2 97.6)
OKLCHoklch(0.764 0.112 99.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c3b45b on white: 2.10:1
AA ✗ fail · AA-large · AAA
Aa
#c3b45b on black: 10.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.5%
Green70.6%
Blue35.7%

CMYK percentages

Cyan0.0%
Magenta7.7%
Yellow53.3%
Key (black)23.5%

Color previews

#c3b45b text on a black background

contrast 10.00:1

Card sample

#c3b45b text on a white background

contrast 2.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(195, 180, 91, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(195, 180, 91, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c3b45b;
background: linear-gradient(135deg, #c3b45b, #8DC35B);

Monochromatic scale

Palettes built from #c3b45b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c3b45b in the Color Lab