Skip to content
Vectorlight.net

#cdba1b

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

HEX
#cdba1b
RGB
205, 186, 27
HSL
53.6°, 76.72%, 45.49%
OKLCH
0.78 0.16 101.68
Names
—
Lists

Codes

FormatValue
HEX#cdba1b
RGBrgb(205 186 27)
HSLhsl(53.6 76.72% 45.49%)
OKLCHoklch(0.78 0.16 101.68)
CMYKcmyk(0% 9.27% 86.83% 19.61%)
Android#ffcdba1b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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