Skip to content

#afb075

a balanced, soft yellow · cool · closest name: tan

RGB
175, 176, 117
HSL
61°, 27%, 58%
CMYK
1, 0, 34, 31
Luminance
0.4145

Every format

HEX#afb075
RGBrgb(175, 176, 117)
HSLhsl(61, 27%, 58%)
CMYKcmyk(1%, 0%, 34%, 31%)
LABlab(70.5 -9.7 30.2)
LCHlch(70.5 31.7 107.7)
OKLCHoklch(0.742 0.079 109.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afb075 on white: 2.26:1
AA ✗ fail · AA-large · AAA
Aa
#afb075 on black: 9.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green69.0%
Blue45.9%

CMYK percentages

Cyan0.6%
Magenta0.0%
Yellow33.5%
Key (black)31.0%

Color previews

#afb075 text on a black background

contrast 9.29:1

Card sample

#afb075 text on a white background

contrast 2.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 176, 117, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 176, 117, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afb075;
background: linear-gradient(135deg, #afb075, #88B075);

Monochromatic scale

Palettes built from #afb075

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afb075 in the Color Lab