Skip to content

#cdcf68

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

RGB
205, 207, 104
HSL
61°, 52%, 61%
CMYK
1, 0, 50, 19
Luminance
0.5860

Every format

HEX#cdcf68
RGBrgb(205, 207, 104)
HSLhsl(61, 52%, 61%)
CMYKcmyk(1%, 0%, 50%, 19%)
LABlab(81.1 -14.8 50.4)
LCHlch(81.1 52.5 106.4)
OKLCHoklch(0.832 0.127 109.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdcf68 on white: 1.65:1
AA ✗ fail · AA-large · AAA
Aa
#cdcf68 on black: 12.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green81.2%
Blue40.8%

CMYK percentages

Cyan1.0%
Magenta0.0%
Yellow49.8%
Key (black)18.8%

Color previews

#cdcf68 text on a black background

contrast 12.72:1

Card sample

#cdcf68 text on a white background

contrast 1.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cdcf68

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdcf68 in the Color Lab