Skip to content

#c09021

a dark, vivid yellow · warm · closest name: peru

RGB
192, 144, 33
HSL
42°, 71%, 44%
CMYK
0, 25, 83, 25
Luminance
0.3126

Every format

HEX#c09021
RGBrgb(192, 144, 33)
HSLhsl(42, 71%, 44%)
CMYKcmyk(0%, 25%, 83%, 25%)
LABlab(62.7 8.4 60.5)
LCHlch(62.7 61.1 82.1)
OKLCHoklch(0.682 0.131 82.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#c09021 on white: 2.90:1
AA ✗ fail · AA-large · AAA
Aa
#c09021 on black: 7.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red75.3%
Green56.5%
Blue12.9%

CMYK percentages

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

Color previews

#c09021 text on a black background

contrast 7.25:1

Card sample

#c09021 text on a white background

contrast 2.90:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #c09021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #c09021 in the Color Lab