Skip to content

#afd92c

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

RGB
175, 217, 44
HSL
75°, 70%, 51%
CMYK
19, 0, 80, 15
Luminance
0.5892

Every format

HEX#afd92c
RGBrgb(175, 217, 44)
HSLhsl(75, 70%, 51%)
CMYKcmyk(19%, 0%, 80%, 15%)
LABlab(81.3 -35.5 73.2)
LCHlch(81.3 81.3 115.9)
OKLCHoklch(0.826 0.191 123.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd92c on white: 1.64:1
AA ✗ fail · AA-large · AAA
Aa
#afd92c on black: 12.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green85.1%
Blue17.3%

CMYK percentages

Cyan19.4%
Magenta0.0%
Yellow79.7%
Key (black)14.9%

Color previews

#afd92c text on a black background

contrast 12.78:1

Card sample

#afd92c text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd92c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd92c in the Color Lab