Skip to content

#a3af2f

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

RGB
163, 175, 47
HSL
66°, 58%, 44%
CMYK
7, 0, 73, 31
Luminance
0.3865

Every format

HEX#a3af2f
RGBrgb(163, 175, 47)
HSLhsl(66, 58%, 44%)
CMYKcmyk(7%, 0%, 73%, 31%)
LABlab(68.5 -20.2 60.1)
LCHlch(68.5 63.5 108.6)
OKLCHoklch(0.722 0.147 114.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a3af2f on white: 2.41:1
AA ✗ fail · AA-large · AAA
Aa
#a3af2f on black: 8.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.9%
Green68.6%
Blue18.4%

CMYK percentages

Cyan6.9%
Magenta0.0%
Yellow73.1%
Key (black)31.4%

Color previews

#a3af2f text on a black background

contrast 8.73:1

Card sample

#a3af2f text on a white background

contrast 2.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(163, 175, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(163, 175, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a3af2f;
background: linear-gradient(135deg, #a3af2f, #4EAF2F);

Monochromatic scale

Palettes built from #a3af2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a3af2f in the Color Lab