Skip to content

#938021

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

RGB
147, 128, 33
HSL
50°, 63%, 35%
CMYK
0, 13, 78, 42
Luminance
0.2175

Every format

HEX#938021
RGBrgb(147, 128, 33)
HSLhsl(50, 63%, 35%)
CMYKcmyk(0%, 13%, 78%, 42%)
LABlab(53.8 -3.2 50.7)
LCHlch(53.8 50.8 93.6)
OKLCHoklch(0.600 0.112 97.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#938021 on white: 3.93:1
AA ✗ fail · AA-large · AAA
Aa
#938021 on black: 5.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red57.6%
Green50.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta12.9%
Yellow77.6%
Key (black)42.4%

Color previews

#938021 text on a black background

contrast 5.35:1

Card sample

#938021 text on a white background

contrast 3.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #938021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #938021 in the Color Lab