Skip to content

#afd293

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

RGB
175, 210, 147
HSL
93°, 41%, 70%
CMYK
17, 0, 30, 18
Luminance
0.5731

Every format

HEX#afd293
RGBrgb(175, 210, 147)
HSLhsl(93, 41%, 70%)
CMYKcmyk(17%, 0%, 30%, 18%)
LABlab(80.4 -22.8 27.5)
LCHlch(80.4 35.7 129.6)
OKLCHoklch(0.823 0.093 131.8)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green82.4%
Blue57.6%

CMYK percentages

Cyan16.7%
Magenta0.0%
Yellow30.0%
Key (black)17.6%

Color previews

#afd293 text on a black background

contrast 12.46:1

Card sample

#afd293 text on a white background

contrast 1.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd293

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd293 in the Color Lab