Skip to content

#afd25c

a balanced, vivid green · cool · closest name: khaki

RGB
175, 210, 92
HSL
78°, 57%, 59%
CMYK
17, 0, 56, 18
Luminance
0.5598

Every format

HEX#afd25c
RGBrgb(175, 210, 92)
HSLhsl(78, 57%, 59%)
CMYKcmyk(17%, 0%, 56%, 18%)
LABlab(79.6 -29.3 53.7)
LCHlch(79.6 61.1 118.6)
OKLCHoklch(0.814 0.150 123.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd25c on white: 1.72:1
AA ✗ fail · AA-large · AAA
Aa
#afd25c on black: 12.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green82.4%
Blue36.1%

CMYK percentages

Cyan16.7%
Magenta0.0%
Yellow56.2%
Key (black)17.6%

Color previews

#afd25c text on a black background

contrast 12.20:1

Card sample

#afd25c text on a white background

contrast 1.72:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd25c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd25c in the Color Lab