Skip to content

#ffb227

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

RGB
255, 178, 39
HSL
39°, 100%, 58%
CMYK
0, 30, 85, 0
Luminance
0.5325

Every format

HEX#ffb227
RGBrgb(255, 178, 39)
HSLhsl(39, 100%, 58%)
CMYKcmyk(0%, 30%, 85%, 0%)
LABlab(78.0 17.7 74.5)
LCHlch(78.0 76.5 76.6)
OKLCHoklch(0.817 0.163 75.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffb227 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#ffb227 on black: 11.65:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green69.8%
Blue15.3%

CMYK percentages

Cyan0.0%
Magenta30.2%
Yellow84.7%
Key (black)0.0%

Color previews

#ffb227 text on a black background

contrast 11.65:1

Card sample

#ffb227 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffb227

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffb227 in the Color Lab