Skip to content

#afd0af

a light, soft green · cool · closest name: beige

RGB
175, 208, 175
HSL
120°, 26%, 75%
CMYK
16, 0, 16, 18
Luminance
0.5732

Every format

HEX#afd0af
RGBrgb(175, 208, 175)
HSLhsl(120, 26%, 75%)
CMYKcmyk(16%, 0%, 16%, 18%)
LABlab(80.4 -17.3 12.8)
LCHlch(80.4 21.5 143.5)
OKLCHoklch(0.824 0.058 145.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd0af on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#afd0af on black: 12.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green81.6%
Blue68.6%

CMYK percentages

Cyan15.9%
Magenta0.0%
Yellow15.9%
Key (black)18.4%

Color previews

#afd0af text on a black background

contrast 12.46:1

Card sample

#afd0af text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd0af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd0af in the Color Lab