Skip to content

#afd134

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

RGB
175, 209, 52
HSL
73°, 63%, 51%
CMYK
16, 0, 75, 18
Luminance
0.5496

Every format

HEX#afd134
RGBrgb(175, 209, 52)
HSLhsl(73, 63%, 51%)
CMYKcmyk(16%, 0%, 75%, 18%)
LABlab(79.0 -31.5 68.8)
LCHlch(79.0 75.6 114.6)
OKLCHoklch(0.808 0.178 121.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afd134 on white: 1.75:1
AA ✗ fail · AA-large · AAA
Aa
#afd134 on black: 11.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green82.0%
Blue20.4%

CMYK percentages

Cyan16.3%
Magenta0.0%
Yellow75.1%
Key (black)18.0%

Color previews

#afd134 text on a black background

contrast 11.99:1

Card sample

#afd134 text on a white background

contrast 1.75:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #afd134

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afd134 in the Color Lab