Skip to content

#cbcf39

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

RGB
203, 207, 57
HSL
62°, 61%, 52%
CMYK
2, 0, 73, 19
Luminance
0.5762

Every format

HEX#cbcf39
RGBrgb(203, 207, 57)
HSLhsl(62, 61%, 52%)
CMYKcmyk(2%, 0%, 73%, 19%)
LABlab(80.5 -18.8 69.3)
LCHlch(80.5 71.8 105.2)
OKLCHoklch(0.826 0.164 111.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red79.6%
Green81.2%
Blue22.4%

CMYK percentages

Cyan1.9%
Magenta0.0%
Yellow72.5%
Key (black)18.8%

Color previews

#cbcf39 text on a black background

contrast 12.52:1

Card sample

#cbcf39 text on a white background

contrast 1.68:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #cbcf39

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cbcf39 in the Color Lab