Skip to content

#adaf40

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

RGB
173, 175, 64
HSL
61°, 46%, 47%
CMYK
1, 0, 63, 31
Luminance
0.3991

Every format

HEX#adaf40
RGBrgb(173, 175, 64)
HSLhsl(61, 46%, 47%)
CMYKcmyk(1%, 0%, 63%, 31%)
LABlab(69.4 -15.0 54.7)
LCHlch(69.4 56.7 105.3)
OKLCHoklch(0.731 0.132 110.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#adaf40 on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#adaf40 on black: 8.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green68.6%
Blue25.1%

CMYK percentages

Cyan1.1%
Magenta0.0%
Yellow63.4%
Key (black)31.4%

Color previews

#adaf40 text on a black background

contrast 8.98:1

Card sample

#adaf40 text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #adaf40

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #adaf40 in the Color Lab