Skip to content

#cfb950

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

RGB
207, 185, 80
HSL
50°, 57%, 56%
CMYK
0, 11, 61, 19
Luminance
0.4854

Every format

HEX#cfb950
RGBrgb(207, 185, 80)
HSLhsl(50, 57%, 56%)
CMYKcmyk(0%, 11%, 61%, 19%)
LABlab(75.2 -4.6 54.8)
LCHlch(75.2 55.0 94.8)
OKLCHoklch(0.784 0.127 97.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfb950 on white: 1.96:1
AA ✗ fail · AA-large · AAA
Aa
#cfb950 on black: 10.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green72.5%
Blue31.4%

CMYK percentages

Cyan0.0%
Magenta10.6%
Yellow61.4%
Key (black)18.8%

Color previews

#cfb950 text on a black background

contrast 10.71:1

Card sample

#cfb950 text on a white background

contrast 1.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 185, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 185, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfb950;
background: linear-gradient(135deg, #cfb950, #90CF50);

Monochromatic scale

Palettes built from #cfb950

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfb950 in the Color Lab