Skip to content

#cdd968

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

RGB
205, 217, 104
HSL
66°, 60%, 63%
CMYK
6, 0, 52, 15
Luminance
0.6360

Every format

HEX#cdd968
RGBrgb(205, 217, 104)
HSLhsl(66, 60%, 63%)
CMYKcmyk(6%, 0%, 52%, 15%)
LABlab(83.8 -19.8 53.6)
LCHlch(83.8 57.1 110.3)
OKLCHoklch(0.853 0.138 114.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdd968 on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#cdd968 on black: 13.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green85.1%
Blue40.8%

CMYK percentages

Cyan5.5%
Magenta0.0%
Yellow52.1%
Key (black)14.9%

Color previews

#cdd968 text on a black background

contrast 13.72:1

Card sample

#cdd968 text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 217, 104, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 217, 104, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdd968;
background: linear-gradient(135deg, #cdd968, #81D968);

Monochromatic scale

Palettes built from #cdd968

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdd968 in the Color Lab