Skip to content

#c09a21

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

RGB
192, 154, 33
HSL
46°, 71%, 44%
CMYK
0, 20, 83, 25
Luminance
0.3443

Every format

HEX#c09a21
RGBrgb(192, 154, 33)
HSLhsl(46, 71%, 44%)
CMYKcmyk(0%, 20%, 83%, 25%)
LABlab(65.3 3.0 62.8)
LCHlch(65.3 62.8 87.3)
OKLCHoklch(0.702 0.135 89.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c09a21 on white: 2.66:1
AA ✗ fail · AA-large · AAA
Aa
#c09a21 on black: 7.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green60.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta19.8%
Yellow82.8%
Key (black)24.7%

Color previews

#c09a21 text on a black background

contrast 7.89:1

Card sample

#c09a21 text on a white background

contrast 2.66:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(192, 154, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(192, 154, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #c09a21;
background: linear-gradient(135deg, #c09a21, #7CC021);

Monochromatic scale

Palettes built from #c09a21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c09a21 in the Color Lab