Skip to content

#cbdf4d

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

RGB
203, 223, 77
HSL
68°, 70%, 59%
CMYK
9, 0, 66, 13
Luminance
0.6601

Every format

HEX#cbdf4d
RGBrgb(203, 223, 77)
HSLhsl(68, 70%, 59%)
CMYKcmyk(9%, 0%, 66%, 13%)
LABlab(85.0 -25.5 66.4)
LCHlch(85.0 71.2 111.0)
OKLCHoklch(0.862 0.168 116.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbdf4d on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#cbdf4d on black: 14.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green87.5%
Blue30.2%

CMYK percentages

Cyan9.0%
Magenta0.0%
Yellow65.5%
Key (black)12.5%

Color previews

#cbdf4d text on a black background

contrast 14.20:1

Card sample

#cbdf4d text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 223, 77, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 223, 77, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbdf4d;
background: linear-gradient(135deg, #cbdf4d, #6ADF4D);

Monochromatic scale

Palettes built from #cbdf4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbdf4d in the Color Lab