Skip to content

#cfac3e

a balanced, vivid yellow · cool · closest name: olive

RGB
207, 172, 62
HSL
46°, 60%, 53%
CMYK
0, 17, 70, 19
Luminance
0.4312

Every format

HEX#cfac3e
RGBrgb(207, 172, 62)
HSLhsl(46, 60%, 53%)
CMYKcmyk(0%, 17%, 70%, 19%)
LABlab(71.6 1.1 58.8)
LCHlch(71.6 58.8 88.9)
OKLCHoklch(0.756 0.132 90.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#cfac3e on white: 2.18:1
AA ✗ fail · AA-large · AAA
Aa
#cfac3e on black: 9.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red81.2%
Green67.5%
Blue24.3%

CMYK percentages

Cyan0.0%
Magenta16.9%
Yellow70.0%
Key (black)18.8%

Color previews

#cfac3e text on a black background

contrast 9.62:1

Card sample

#cfac3e text on a white background

contrast 2.18:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(207, 172, 62, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(207, 172, 62, 0.45);
Border & gradient
Gradient panel
border: 3px solid #cfac3e;
background: linear-gradient(135deg, #cfac3e, #91CF3E);

Monochromatic scale

Palettes built from #cfac3e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #cfac3e in the Color Lab