Skip to content

#c3af45

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

RGB
195, 175, 69
HSL
51°, 51%, 52%
CMYK
0, 10, 65, 24
Luminance
0.4269

Every format

HEX#c3af45
RGBrgb(195, 175, 69)
HSLhsl(51, 51%, 52%)
CMYKcmyk(0%, 10%, 65%, 24%)
LABlab(71.3 -5.2 55.2)
LCHlch(71.3 55.4 95.4)
OKLCHoklch(0.751 0.127 98.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c3af45 on white: 2.20:1
AA ✗ fail · AA-large · AAA
Aa
#c3af45 on black: 9.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.5%
Green68.6%
Blue27.1%

CMYK percentages

Cyan0.0%
Magenta10.3%
Yellow64.6%
Key (black)23.5%

Color previews

#c3af45 text on a black background

contrast 9.54:1

Card sample

#c3af45 text on a white background

contrast 2.20:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c3af45

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c3af45 in the Color Lab