Skip to content

#c3b430

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

RGB
195, 180, 48
HSL
54°, 61%, 48%
CMYK
0, 8, 75, 24
Luminance
0.4446

Every format

HEX#c3b430
RGBrgb(195, 180, 48)
HSLhsl(54, 61%, 48%)
CMYKcmyk(0%, 8%, 75%, 24%)
LABlab(72.5 -8.9 64.5)
LCHlch(72.5 65.2 97.9)
OKLCHoklch(0.760 0.145 102.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c3b430 on white: 2.12:1
AA ✗ fail · AA-large · AAA
Aa
#c3b430 on black: 9.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red76.5%
Green70.6%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta7.7%
Yellow75.4%
Key (black)23.5%

Color previews

#c3b430 text on a black background

contrast 9.89:1

Card sample

#c3b430 text on a white background

contrast 2.12:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c3b430

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c3b430 in the Color Lab