Skip to content

#afaa09

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

RGB
175, 170, 9
HSL
58°, 90%, 36%
CMYK
0, 3, 95, 31
Luminance
0.3788

Every format

HEX#afaa09
RGBrgb(175, 170, 9)
HSLhsl(58, 90%, 36%)
CMYKcmyk(0%, 3%, 95%, 31%)
LABlab(67.9 -13.6 69.1)
LCHlch(67.9 70.4 101.1)
OKLCHoklch(0.719 0.153 107.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afaa09 on white: 2.45:1
AA ✗ fail · AA-large · AAA
Aa
#afaa09 on black: 8.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green66.7%
Blue3.5%

CMYK percentages

Cyan0.0%
Magenta2.9%
Yellow94.9%
Key (black)31.4%

Color previews

#afaa09 text on a black background

contrast 8.58:1

Card sample

#afaa09 text on a white background

contrast 2.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 170, 9, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 170, 9, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afaa09;
background: linear-gradient(135deg, #afaa09, #45AF09);

Monochromatic scale

Palettes built from #afaa09

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afaa09 in the Color Lab