Skip to content

#af9930

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

RGB
175, 153, 48
HSL
50°, 57%, 44%
CMYK
0, 13, 73, 31
Luminance
0.3211

Every format

HEX#af9930
RGBrgb(175, 153, 48)
HSLhsl(50, 57%, 44%)
CMYKcmyk(0%, 13%, 73%, 31%)
LABlab(63.4 -3.5 55.2)
LCHlch(63.4 55.3 93.6)
OKLCHoklch(0.684 0.123 97.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#af9930 on white: 2.83:1
AA ✗ fail · AA-large · AAA
Aa
#af9930 on black: 7.42:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green60.0%
Blue18.8%

CMYK percentages

Cyan0.0%
Magenta12.6%
Yellow72.6%
Key (black)31.4%

Color previews

#af9930 text on a black background

contrast 7.42:1

Card sample

#af9930 text on a white background

contrast 2.83:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 153, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 153, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #af9930;
background: linear-gradient(135deg, #af9930, #70AF30);

Monochromatic scale

Palettes built from #af9930

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #af9930 in the Color Lab