Skip to content

#c2bd2f

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

RGB
194, 189, 47
HSL
58°, 61%, 47%
CMYK
0, 3, 76, 24
Luminance
0.4807

Every format

HEX#c2bd2f
RGBrgb(194, 189, 47)
HSLhsl(58, 61%, 47%)
CMYKcmyk(0%, 3%, 76%, 24%)
LABlab(74.9 -14.0 67.0)
LCHlch(74.9 68.5 101.8)
OKLCHoklch(0.779 0.154 107.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c2bd2f on white: 1.98:1
AA ✗ fail · AA-large · AAA
Aa
#c2bd2f on black: 10.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.1%
Green74.1%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta2.6%
Yellow75.8%
Key (black)23.9%

Color previews

#c2bd2f text on a black background

contrast 10.61:1

Card sample

#c2bd2f text on a white background

contrast 1.98:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(194, 189, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(194, 189, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c2bd2f;
background: linear-gradient(135deg, #c2bd2f, #65C22F);

Monochromatic scale

Palettes built from #c2bd2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c2bd2f in the Color Lab