Skip to content

#a8af39

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

RGB
168, 175, 57
HSL
64°, 51%, 46%
CMYK
4, 0, 67, 31
Luminance
0.3928

Every format

HEX#a8af39
RGBrgb(168, 175, 57)
HSLhsl(64, 51%, 46%)
CMYKcmyk(4%, 0%, 67%, 31%)
LABlab(69.0 -17.6 57.0)
LCHlch(69.0 59.6 107.1)
OKLCHoklch(0.726 0.139 112.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a8af39 on white: 2.37:1
AA ✗ fail · AA-large · AAA
Aa
#a8af39 on black: 8.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.9%
Green68.6%
Blue22.4%

CMYK percentages

Cyan4.0%
Magenta0.0%
Yellow67.4%
Key (black)31.4%

Color previews

#a8af39 text on a black background

contrast 8.86:1

Card sample

#a8af39 text on a white background

contrast 2.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(168, 175, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(168, 175, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a8af39;
background: linear-gradient(135deg, #a8af39, #59AF39);

Monochromatic scale

Palettes built from #a8af39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a8af39 in the Color Lab