Skip to content

#ffb205

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

RGB
255, 178, 5
HSL
42°, 100%, 51%
CMYK
0, 30, 98, 0
Luminance
0.5311

Every format

HEX#ffb205
RGBrgb(255, 178, 5)
HSLhsl(42, 100%, 51%)
CMYKcmyk(0%, 30%, 98%, 0%)
LABlab(77.9 17.2 80.4)
LCHlch(77.9 82.2 77.9)
OKLCHoklch(0.816 0.170 77.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffb205 on white: 1.81:1
AA ✗ fail · AA-large · AAA
Aa
#ffb205 on black: 11.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green69.8%
Blue2.0%

CMYK percentages

Cyan0.0%
Magenta30.2%
Yellow98.0%
Key (black)0.0%

Color previews

#ffb205 text on a black background

contrast 11.62:1

Card sample

#ffb205 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffb205

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffb205 in the Color Lab