Skip to content

#cfb608

a dark, electric yellow · cool · closest name: gold

RGB
207, 182, 8
HSL
53°, 93%, 42%
CMYK
0, 12, 96, 19
Luminance
0.4674

Every format

HEX#cfb608
RGBrgb(207, 182, 8)
HSLhsl(53, 93%, 42%)
CMYKcmyk(0%, 12%, 96%, 19%)
LABlab(74.0 -5.7 75.0)
LCHlch(74.0 75.3 94.3)
OKLCHoklch(0.774 0.159 99.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfb608 on white: 2.03:1
AA ✗ fail · AA-large · AAA
Aa
#cfb608 on black: 10.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green71.4%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta12.1%
Yellow96.1%
Key (black)18.8%

Color previews

#cfb608 text on a black background

contrast 10.35:1

Card sample

#cfb608 text on a white background

contrast 2.03:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 182, 8, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 182, 8, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfb608;
background: linear-gradient(135deg, #cfb608, #63CF08);

Monochromatic scale

Palettes built from #cfb608

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfb608 in the Color Lab