Skip to content

#ffb608

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

RGB
255, 182, 8
HSL
42°, 100%, 52%
CMYK
0, 29, 97, 0
Luminance
0.5473

Every format

HEX#ffb608
RGBrgb(255, 182, 8)
HSLhsl(42, 100%, 52%)
CMYKcmyk(0%, 29%, 97%, 0%)
LABlab(78.9 15.1 80.8)
LCHlch(78.9 82.2 79.4)
OKLCHoklch(0.824 0.170 79.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffb608 on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#ffb608 on black: 11.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green71.4%
Blue3.1%

CMYK percentages

Cyan0.0%
Magenta28.6%
Yellow96.9%
Key (black)0.0%

Color previews

#ffb608 text on a black background

contrast 11.95:1

Card sample

#ffb608 text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffb608

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffb608 in the Color Lab