Skip to content

#c09f21

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

RGB
192, 159, 33
HSL
48°, 71%, 44%
CMYK
0, 17, 83, 25
Luminance
0.3611

Every format

HEX#c09f21
RGBrgb(192, 159, 33)
HSLhsl(48, 71%, 44%)
CMYKcmyk(0%, 17%, 83%, 25%)
LABlab(66.6 0.3 63.9)
LCHlch(66.6 63.9 89.7)
OKLCHoklch(0.712 0.137 92.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c09f21 on white: 2.55:1
AA ✗ fail · AA-large · AAA
Aa
#c09f21 on black: 8.22:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green62.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta17.2%
Yellow82.8%
Key (black)24.7%

Color previews

#c09f21 text on a black background

contrast 8.22:1

Card sample

#c09f21 text on a white background

contrast 2.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c09f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c09f21 in the Color Lab