Skip to content

#cbcf2f

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

RGB
203, 207, 47
HSL
62°, 63%, 50%
CMYK
2, 0, 77, 19
Luminance
0.5753

Every format

HEX#cbcf2f
RGBrgb(203, 207, 47)
HSLhsl(62, 63%, 50%)
CMYKcmyk(2%, 0%, 77%, 19%)
LABlab(80.5 -19.2 72.4)
LCHlch(80.5 74.9 104.8)
OKLCHoklch(0.825 0.169 111.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cbcf2f on white: 1.68:1
AA ✗ fail · AA-large · AAA
Aa
#cbcf2f on black: 12.51:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red79.6%
Green81.2%
Blue18.4%

CMYK percentages

Cyan1.9%
Magenta0.0%
Yellow77.3%
Key (black)18.8%

Color previews

#cbcf2f text on a black background

contrast 12.51:1

Card sample

#cbcf2f text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(203, 207, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(203, 207, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cbcf2f;
background: linear-gradient(135deg, #cbcf2f, #60CF2F);

Monochromatic scale

Palettes built from #cbcf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbcf2f in the Color Lab