Skip to content

#afc430

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

RGB
175, 196, 48
HSL
69°, 61%, 48%
CMYK
11, 0, 76, 23
Luminance
0.4881

Every format

HEX#afc430
RGBrgb(175, 196, 48)
HSLhsl(69, 61%, 48%)
CMYKcmyk(11%, 0%, 76%, 23%)
LABlab(75.3 -25.5 66.6)
LCHlch(75.3 71.3 110.9)
OKLCHoklch(0.779 0.165 117.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#afc430 on white: 1.95:1
AA ✗ fail · AA-large · AAA
Aa
#afc430 on black: 10.76:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red68.6%
Green76.9%
Blue18.8%

CMYK percentages

Cyan10.7%
Magenta0.0%
Yellow75.5%
Key (black)23.1%

Color previews

#afc430 text on a black background

contrast 10.76:1

Card sample

#afc430 text on a white background

contrast 1.95:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(175, 196, 48, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(175, 196, 48, 0.45);
Border & gradient
Gradient panel
border: 3px solid #afc430;
background: linear-gradient(135deg, #afc430, #4CC430);

Monochromatic scale

Palettes built from #afc430

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #afc430 in the Color Lab