Skip to content

#ffaf68

a light, electric orange · warm · closest name: peru

RGB
255, 175, 104
HSL
28°, 100%, 70%
CMYK
0, 31, 59, 0
Luminance
0.5292

Every format

HEX#ffaf68
RGBrgb(255, 175, 104)
HSLhsl(28, 100%, 70%)
CMYKcmyk(0%, 31%, 59%, 0%)
LABlab(77.8 22.3 47.7)
LCHlch(77.8 52.6 65.0)
OKLCHoklch(0.817 0.128 61.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green68.6%
Blue40.8%

CMYK percentages

Cyan0.0%
Magenta31.4%
Yellow59.2%
Key (black)0.0%

Color previews

#ffaf68 text on a black background

contrast 11.58:1

Card sample

#ffaf68 text on a white background

contrast 1.81:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffaf68

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffaf68 in the Color Lab