Skip to content
Vectorlight.net

#cdba38

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

HEX
#cdba38
RGB
205, 186, 56
HSL
52.35°, 59.84%, 51.18%
OKLCH
0.78 0.14 100.71
Names
—
Lists

Codes

FormatValue
HEX#cdba38
RGBrgb(205 186 56)
HSLhsl(52.35 59.84% 51.18%)
OKLCHoklch(0.78 0.14 100.71)
CMYKcmyk(0% 9.27% 72.68% 19.61%)
Android#ffcdba38

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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