Skip to content

#afcc53

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

RGB
175, 204, 83
HSL
74°, 54%, 56%
CMYK
14, 0, 59, 20
Luminance
0.5292

Every format

HEX#afcc53
RGBrgb(175, 204, 83)
HSLhsl(74, 54%, 56%)
CMYKcmyk(14%, 0%, 59%, 20%)
LABlab(77.8 -27.2 55.7)
LCHlch(77.8 62.0 116.0)
OKLCHoklch(0.799 0.151 121.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afcc53 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#afcc53 on black: 11.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green80.0%
Blue32.5%

CMYK percentages

Cyan14.2%
Magenta0.0%
Yellow59.3%
Key (black)20.0%

Color previews

#afcc53 text on a black background

contrast 11.58:1

Card sample

#afcc53 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 204, 83, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 204, 83, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afcc53;
background: linear-gradient(135deg, #afcc53, #5ECC53);

Monochromatic scale

Palettes built from #afcc53

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afcc53 in the Color Lab