Skip to content

#f0b034

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

RGB
240, 176, 52
HSL
40°, 86%, 57%
CMYK
0, 27, 78, 6
Luminance
0.4982

Every format

HEX#f0b034
RGBrgb(240, 176, 52)
HSLhsl(40, 86%, 57%)
CMYKcmyk(0%, 27%, 78%, 6%)
LABlab(76.0 12.8 68.0)
LCHlch(76.0 69.1 79.4)
OKLCHoklch(0.797 0.150 79.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0b034 on white: 1.92:1
AA ✗ fail · AA-large · AAA
Aa
#f0b034 on black: 10.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green69.0%
Blue20.4%

CMYK percentages

Cyan0.0%
Magenta26.7%
Yellow78.3%
Key (black)5.9%

Color previews

#f0b034 text on a black background

contrast 10.96:1

Card sample

#f0b034 text on a white background

contrast 1.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(240, 176, 52, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 176, 52, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0b034;
background: linear-gradient(135deg, #f0b034, #B3F034);

Monochromatic scale

Palettes built from #f0b034

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0b034 in the Color Lab