Skip to content

#baad2f

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

RGB
186, 173, 47
HSL
54°, 60%, 46%
CMYK
0, 7, 75, 27
Luminance
0.4053

Every format

HEX#baad2f
RGBrgb(186, 173, 47)
HSLhsl(54, 60%, 46%)
CMYKcmyk(0%, 7%, 75%, 27%)
LABlab(69.8 -9.3 62.1)
LCHlch(69.8 62.8 98.5)
OKLCHoklch(0.737 0.140 103.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#baad2f on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#baad2f on black: 9.11:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green67.8%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta7.0%
Yellow74.7%
Key (black)27.1%

Color previews

#baad2f text on a black background

contrast 9.11:1

Card sample

#baad2f text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 173, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 173, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #baad2f;
background: linear-gradient(135deg, #baad2f, #6ABA2F);

Monochromatic scale

Palettes built from #baad2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #baad2f in the Color Lab