Skip to content

#adaf28

a dark, vivid yellow · cool · closest name: olive

RGB
173, 175, 40
HSL
61°, 63%, 42%
CMYK
1, 0, 77, 31
Luminance
0.3970

Every format

HEX#adaf28
RGBrgb(173, 175, 40)
HSLhsl(61, 63%, 42%)
CMYKcmyk(1%, 0%, 77%, 31%)
LABlab(69.3 -16.2 63.5)
LCHlch(69.3 65.5 104.4)
OKLCHoklch(0.729 0.148 110.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#adaf28 on white: 2.35:1
AA ✗ fail · AA-large · AAA
Aa
#adaf28 on black: 8.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green68.6%
Blue15.7%

CMYK percentages

Cyan1.1%
Magenta0.0%
Yellow77.1%
Key (black)31.4%

Color previews

#adaf28 text on a black background

contrast 8.94:1

Card sample

#adaf28 text on a white background

contrast 2.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(173, 175, 40, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 175, 40, 0.45);
Border & gradient
Gradient panel
border: 3px solid #adaf28;
background: linear-gradient(135deg, #adaf28, #53AF28);

Monochromatic scale

Palettes built from #adaf28

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #adaf28 in the Color Lab