Skip to content
Vectorlight.net

#ffb238

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

HEX
#ffb238
RGB
255, 178, 56
HSL
36.78°, 100%, 60.98%
OKLCH
0.82 0.16 73.78
Names
—
Lists

Codes

FormatValue
HEX#ffb238
RGBrgb(255 178 56)
HSLhsl(36.78 100% 60.98%)
OKLCHoklch(0.82 0.16 73.78)
CMYKcmyk(0% 30.2% 78.04% 0%)
Android#ffffb238

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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