Skip to content

#707021

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

RGB
112, 112, 33
HSL
60°, 55%, 28%
CMYK
0, 0, 71, 56
Luminance
0.1514

Every format

HEX#707021
RGBrgb(112, 112, 33)
HSLhsl(60, 55%, 28%)
CMYKcmyk(0%, 0%, 71%, 56%)
LABlab(45.8 -10.6 41.9)
LCHlch(45.8 43.2 104.1)
OKLCHoklch(0.529 0.099 109.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#707021 on white: 5.21:1
AA ✓ pass · AA-large · AAA
Aa
#707021 on black: 4.03:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red43.9%
Green43.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow70.5%
Key (black)56.1%

Color previews

#707021 text on a black background

contrast 4.03:1

Card sample

#707021 text on a white background

contrast 5.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #707021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #707021 in the Color Lab