Skip to content

#decf4b

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

RGB
222, 207, 75
HSL
54°, 69%, 58%
CMYK
0, 7, 66, 13
Luminance
0.6066

Every format

HEX#decf4b
RGBrgb(222, 207, 75)
HSLhsl(54, 69%, 58%)
CMYKcmyk(0%, 7%, 66%, 13%)
LABlab(82.2 -9.9 64.8)
LCHlch(82.2 65.5 98.7)
OKLCHoklch(0.843 0.149 102.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#decf4b on white: 1.60:1
AA ✗ fail · AA-large · AAA
Aa
#decf4b on black: 13.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red87.1%
Green81.2%
Blue29.4%

CMYK percentages

Cyan0.0%
Magenta6.8%
Yellow66.2%
Key (black)12.9%

Color previews

#decf4b text on a black background

contrast 13.13:1

Card sample

#decf4b text on a white background

contrast 1.60:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(222, 207, 75, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(222, 207, 75, 0.45);
Border & gradient
Gradient panel
border: 3px solid #decf4b;
background: linear-gradient(135deg, #decf4b, #8BDE4B);

Monochromatic scale

Palettes built from #decf4b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #decf4b in the Color Lab