Skip to content

#cdbc3f

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

RGB
205, 188, 63
HSL
53°, 59%, 53%
CMYK
0, 8, 69, 20
Luminance
0.4930

Every format

HEX#cdbc3f
RGBrgb(205, 188, 63)
HSLhsl(53, 59%, 53%)
CMYKcmyk(0%, 8%, 69%, 20%)
LABlab(75.6 -8.0 62.4)
LCHlch(75.6 62.9 97.3)
OKLCHoklch(0.787 0.142 101.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cdbc3f on white: 1.93:1
AA ✗ fail · AA-large · AAA
Aa
#cdbc3f on black: 10.86:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green73.7%
Blue24.7%

CMYK percentages

Cyan0.0%
Magenta8.3%
Yellow69.3%
Key (black)19.6%

Color previews

#cdbc3f text on a black background

contrast 10.86:1

Card sample

#cdbc3f text on a white background

contrast 1.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 188, 63, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 188, 63, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cdbc3f;
background: linear-gradient(135deg, #cdbc3f, #7FCD3F);

Monochromatic scale

Palettes built from #cdbc3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cdbc3f in the Color Lab