Skip to content
Vectorlight.net

#fbe138

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

HEX
#fbe138
RGB
251, 225, 56
HSL
52°, 96.06%, 60.2%
OKLCH
0.9 0.17 99.94
Names
—
Lists

Codes

FormatValue
HEX#fbe138
RGBrgb(251 225 56)
HSLhsl(52 96.06% 60.2%)
OKLCHoklch(0.9 0.17 99.94)
CMYKcmyk(0% 10.36% 77.69% 1.57%)
Android#fffbe138

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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