Skip to content

#998921

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

RGB
153, 137, 33
HSL
52°, 65%, 37%
CMYK
0, 11, 78, 40
Luminance
0.2477

Every format

HEX#998921
RGBrgb(153, 137, 33)
HSLhsl(52, 65%, 37%)
CMYKcmyk(0%, 11%, 78%, 40%)
LABlab(56.9 -5.4 53.8)
LCHlch(56.9 54.1 95.7)
OKLCHoklch(0.626 0.119 100.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#998921 on white: 3.53:1
AA ✗ fail · AA-large · AAA
Aa
#998921 on black: 5.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.0%
Green53.7%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta10.5%
Yellow78.4%
Key (black)40.0%

Color previews

#998921 text on a black background

contrast 5.95:1

Card sample

#998921 text on a white background

contrast 3.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #998921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #998921 in the Color Lab