Skip to content

#796421

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

RGB
121, 100, 33
HSL
46°, 57%, 30%
CMYK
0, 17, 73, 53
Luminance
0.1329

Every format

HEX#796421
RGBrgb(121, 100, 33)
HSLhsl(46, 57%, 30%)
CMYKcmyk(0%, 17%, 73%, 53%)
LABlab(43.2 0.6 39.5)
LCHlch(43.2 39.5 89.2)
OKLCHoklch(0.511 0.088 91.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#796421 on white: 5.74:1
AA ✓ pass · AA-large · AAA
Aa
#796421 on black: 3.66:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red47.5%
Green39.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta17.4%
Yellow72.7%
Key (black)52.5%

Color previews

#796421 text on a black background

contrast 3.66:1

Card sample

#796421 text on a white background

contrast 5.74:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #796421

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #796421 in the Color Lab