Skip to content
Vectorlight.net

#ceb40f

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

HEX
#ceb40f
RGB
206, 180, 15
HSL
51.83°, 86.43%, 43.33%
OKLCH
0.77 0.16 98.54
Names
—
Lists

Codes

FormatValue
HEX#ceb40f
RGBrgb(206 180 15)
HSLhsl(51.83 86.43% 43.33%)
OKLCHoklch(0.77 0.16 98.54)
CMYKcmyk(0% 12.62% 92.72% 19.22%)
Android#ffceb40f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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