Skip to content
Vectorlight.net

#ffd837

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

HEX
#ffd837
RGB
255, 216, 55
HSL
48.3°, 100%, 60.78%
OKLCH
0.89 0.17 94.38
Names
—
Lists

Codes

FormatValue
HEX#ffd837
RGBrgb(255 216 55)
HSLhsl(48.3 100% 60.78%)
OKLCHoklch(0.89 0.17 94.38)
CMYKcmyk(0% 15.29% 78.43% 0%)
Android#ffffd837

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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