Skip to content

#928021

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

RGB
146, 128, 33
HSL
50°, 63%, 35%
CMYK
0, 12, 77, 43
Luminance
0.2166

Every format

HEX#928021
RGBrgb(146, 128, 33)
HSLhsl(50, 63%, 35%)
CMYKcmyk(0%, 12%, 77%, 43%)
LABlab(53.7 -3.6 50.6)
LCHlch(53.7 50.7 94.1)
OKLCHoklch(0.599 0.112 97.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#928021 on white: 3.94:1
AA ✗ fail · AA-large · AAA
Aa
#928021 on black: 5.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red57.3%
Green50.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta12.3%
Yellow77.4%
Key (black)42.7%

Color previews

#928021 text on a black background

contrast 5.33:1

Card sample

#928021 text on a white background

contrast 3.94:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(146, 128, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(146, 128, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #928021;
background: linear-gradient(135deg, #928021, #599221);

Monochromatic scale

Palettes built from #928021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #928021 in the Color Lab