Skip to content

#cd7f3d

a balanced, vivid orange · warm · closest name: peru

RGB
205, 127, 61
HSL
28°, 59%, 52%
CMYK
0, 38, 70, 20
Luminance
0.2849

Every format

HEX#cd7f3d
RGBrgb(205, 127, 61)
HSLhsl(28, 59%, 52%)
CMYKcmyk(0%, 38%, 70%, 20%)
LABlab(60.3 24.5 47.4)
LCHlch(60.3 53.3 62.6)
OKLCHoklch(0.667 0.126 58.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cd7f3d on white: 3.13:1
AA ✗ fail · AA-large · AAA
Aa
#cd7f3d on black: 6.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red80.4%
Green49.8%
Blue23.9%

CMYK percentages

Cyan0.0%
Magenta38.0%
Yellow70.2%
Key (black)19.6%

Color previews

#cd7f3d text on a black background

contrast 6.70:1

Card sample

#cd7f3d text on a white background

contrast 3.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(205, 127, 61, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(205, 127, 61, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cd7f3d;
background: linear-gradient(135deg, #cd7f3d, #BBCD3D);

Monochromatic scale

Palettes built from #cd7f3d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cd7f3d in the Color Lab