Skip to content

#cbdf5d

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

RGB
203, 223, 93
HSL
69°, 67%, 62%
CMYK
9, 0, 58, 13
Luminance
0.6626

Every format

HEX#cbdf5d
RGBrgb(203, 223, 93)
HSLhsl(69, 67%, 62%)
CMYKcmyk(9%, 0%, 58%, 13%)
LABlab(85.1 -24.4 60.0)
LCHlch(85.1 64.8 112.1)
OKLCHoklch(0.863 0.156 117.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbdf5d on white: 1.47:1
AA ✗ fail · AA-large · AAA
Aa
#cbdf5d on black: 14.25:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green87.5%
Blue36.5%

CMYK percentages

Cyan9.0%
Magenta0.0%
Yellow58.3%
Key (black)12.5%

Color previews

#cbdf5d text on a black background

contrast 14.25:1

Card sample

#cbdf5d text on a white background

contrast 1.47:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbdf5d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbdf5d in the Color Lab