Skip to content

#cbdb68

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

RGB
203, 219, 104
HSL
68°, 62%, 63%
CMYK
7, 0, 53, 14
Luminance
0.6436

Every format

HEX#cbdb68
RGBrgb(203, 219, 104)
HSLhsl(68, 62%, 63%)
CMYKcmyk(7%, 0%, 53%, 14%)
LABlab(84.2 -21.6 54.0)
LCHlch(84.2 58.1 111.8)
OKLCHoklch(0.856 0.141 116.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbdb68 on white: 1.51:1
AA ✗ fail · AA-large · AAA
Aa
#cbdb68 on black: 13.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green85.9%
Blue40.8%

CMYK percentages

Cyan7.3%
Magenta0.0%
Yellow52.5%
Key (black)14.1%

Color previews

#cbdb68 text on a black background

contrast 13.87:1

Card sample

#cbdb68 text on a white background

contrast 1.51:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 219, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 219, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbdb68;
background: linear-gradient(135deg, #cbdb68, #7EDB68);

Monochromatic scale

Palettes built from #cbdb68

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbdb68 in the Color Lab