Skip to content

#baa607

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

RGB
186, 166, 7
HSL
53°, 93%, 38%
CMYK
0, 11, 96, 27
Luminance
0.3773

Every format

HEX#baa607
RGBrgb(186, 166, 7)
HSLhsl(53, 93%, 38%)
CMYKcmyk(0%, 11%, 96%, 27%)
LABlab(67.8 -6.6 69.7)
LCHlch(67.8 70.0 95.4)
OKLCHoklch(0.720 0.149 100.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baa607 on white: 2.46:1
AA ✗ fail · AA-large · AAA
Aa
#baa607 on black: 8.55:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green65.1%
Blue2.7%

CMYK percentages

Cyan0.0%
Magenta10.8%
Yellow96.2%
Key (black)27.1%

Color previews

#baa607 text on a black background

contrast 8.55:1

Card sample

#baa607 text on a white background

contrast 2.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 166, 7, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 166, 7, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baa607;
background: linear-gradient(135deg, #baa607, #57BA07);

Monochromatic scale

Palettes built from #baa607

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baa607 in the Color Lab