Skip to content

#afd93b

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

RGB
175, 217, 59
HSL
76°, 68%, 54%
CMYK
19, 0, 73, 15
Luminance
0.5906

Every format

HEX#afd93b
RGBrgb(175, 217, 59)
HSLhsl(76, 68%, 54%)
CMYKcmyk(19%, 0%, 73%, 15%)
LABlab(81.3 -34.8 68.7)
LCHlch(81.3 77.0 116.9)
OKLCHoklch(0.827 0.183 123.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red68.6%
Green85.1%
Blue23.1%

CMYK percentages

Cyan19.4%
Magenta0.0%
Yellow72.8%
Key (black)14.9%

Color previews

#afd93b text on a black background

contrast 12.81:1

Card sample

#afd93b text on a white background

contrast 1.64:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd93b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd93b in the Color Lab