Skip to content

#afd090

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

RGB
175, 208, 144
HSL
91°, 41%, 69%
CMYK
16, 0, 31, 18
Luminance
0.5624

Every format

HEX#afd090
RGBrgb(175, 208, 144)
HSLhsl(91, 41%, 69%)
CMYKcmyk(16%, 0%, 31%, 18%)
LABlab(79.8 -22.2 28.3)
LCHlch(79.8 36.0 128.2)
OKLCHoklch(0.818 0.093 130.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd090 on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#afd090 on black: 12.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green81.6%
Blue56.5%

CMYK percentages

Cyan15.9%
Magenta0.0%
Yellow30.8%
Key (black)18.4%

Color previews

#afd090 text on a black background

contrast 12.25:1

Card sample

#afd090 text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd090

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd090 in the Color Lab