Skip to content
Vectorlight.net

#cfa252

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

HEX
#cfa252
RGB
207, 162, 82
HSL
38.4°, 56.56%, 56.67%
OKLCH
0.74 0.11 79.96
Names
—
Lists

Codes

FormatValue
HEX#cfa252
RGBrgb(207 162 82)
HSLhsl(38.4 56.56% 56.67%)
OKLCHoklch(0.74 0.11 79.96)
CMYKcmyk(0% 21.74% 60.39% 18.82%)
Android#ffcfa252

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.34:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
8.94: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="#cfa252"
Gradient stop
<stop stop-color="#cfa252"/>
CSS variable + fill
:root { --c: #cfa252; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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