Skip to content
Vectorlight.net

#ecb83b

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

HEX
#ecb83b
RGB
236, 184, 59
HSL
42.37°, 82.33%, 57.84%
OKLCH
0.81 0.15 84.92
Names
—
Lists

Codes

FormatValue
HEX#ecb83b
RGBrgb(236 184 59)
HSLhsl(42.37 82.33% 57.84%)
OKLCHoklch(0.81 0.15 84.92)
CMYKcmyk(0% 22.03% 75% 7.45%)
Android#ffecb83b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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