Skip to content

#c2ba64

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

RGB
194, 186, 100
HSL
55°, 44%, 58%
CMYK
0, 4, 49, 24
Luminance
0.4751

Every format

HEX#c2ba64
RGBrgb(194, 186, 100)
HSLhsl(55, 44%, 58%)
CMYKcmyk(0%, 4%, 49%, 24%)
LABlab(74.5 -9.0 44.3)
LCHlch(74.5 45.2 101.5)
OKLCHoklch(0.777 0.109 103.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2ba64 on white: 2.00:1
AA ✗ fail · AA-large · AAA
Aa
#c2ba64 on black: 10.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green72.9%
Blue39.2%

CMYK percentages

Cyan0.0%
Magenta4.1%
Yellow48.5%
Key (black)23.9%

Color previews

#c2ba64 text on a black background

contrast 10.50:1

Card sample

#c2ba64 text on a white background

contrast 2.00:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 186, 100, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 186, 100, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2ba64;
background: linear-gradient(135deg, #c2ba64, #8BC264);

Monochromatic scale

Palettes built from #c2ba64

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2ba64 in the Color Lab