Skip to content

#807c01

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

RGB
128, 124, 1
HSL
58°, 98%, 25%
CMYK
0, 3, 99, 50
Luminance
0.1901

Every format

HEX#807c01
RGBrgb(128, 124, 1)
HSLhsl(58, 98%, 25%)
CMYKcmyk(0%, 3%, 99%, 50%)
LABlab(50.7 -10.7 55.6)
LCHlch(50.7 56.6 100.9)
OKLCHoklch(0.571 0.122 107.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#807c01 on white: 4.37:1
AA ✗ fail · AA-large · AAA
Aa
#807c01 on black: 4.80:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green48.6%
Blue0.4%

CMYK percentages

Cyan0.0%
Magenta3.1%
Yellow99.2%
Key (black)49.8%

Color previews

#807c01 text on a black background

contrast 4.80:1

Card sample

#807c01 text on a white background

contrast 4.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(128, 124, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 124, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #807c01;
background: linear-gradient(135deg, #807c01, #2F8001);

Monochromatic scale

Palettes built from #807c01

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #807c01 in the Color Lab