Skip to content
Vectorlight.net

#ceb52a

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

HEX
#ceb52a
RGB
206, 181, 42
HSL
50.85°, 66.13%, 48.63%
OKLCH
0.77 0.15 98.24
Names
—
Lists

Codes

FormatValue
HEX#ceb52a
RGBrgb(206 181 42)
HSLhsl(50.85 66.13% 48.63%)
OKLCHoklch(0.77 0.15 98.24)
CMYKcmyk(0% 12.14% 79.61% 19.22%)
Android#ffceb52a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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