Skip to content
Vectorlight.net

#cfaa0f

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#cfaa0f
RGB
207, 170, 15
HSL
48.44°, 86.49%, 43.53%
OKLCH
0.75 0.15 92.79
Names
—
Lists

Codes

FormatValue
HEX#cfaa0f
RGBrgb(207 170 15)
HSLhsl(48.44 86.49% 43.53%)
OKLCHoklch(0.75 0.15 92.79)
CMYKcmyk(0% 17.87% 92.75% 18.82%)
Android#ffcfaa0f

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.23:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
9.40:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#cfaa0f"
Gradient stop
<stop stop-color="#cfaa0f"/>
CSS variable + fill
:root { --c: #cfaa0f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #cfaa0f;
background-color: #cfaa0f;
bg-[#cfaa0f]