Skip to content

#ffc643

a balanced, electric yellow · warm · closest name: orange

RGB
255, 198, 67
HSL
42°, 100%, 63%
CMYK
0, 22, 74, 0
Luminance
0.6205

Every format

HEX#ffc643
RGBrgb(255, 198, 67)
HSLhsl(42, 100%, 63%)
CMYKcmyk(0%, 22%, 74%, 0%)
LABlab(82.9 8.2 69.7)
LCHlch(82.9 70.1 83.3)
OKLCHoklch(0.856 0.154 84.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffc643 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#ffc643 on black: 13.41:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green77.6%
Blue26.3%

CMYK percentages

Cyan0.0%
Magenta22.4%
Yellow73.7%
Key (black)0.0%

Color previews

#ffc643 text on a black background

contrast 13.41:1

Card sample

#ffc643 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(255, 198, 67, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(255, 198, 67, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ffc643;
background: linear-gradient(135deg, #ffc643, #BBFF43);

Monochromatic scale

Palettes built from #ffc643

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffc643 in the Color Lab