Skip to content
Kolorvia
#d5ba2a

Color #d5ba2a

A moderately saturated medium yellow.

Conversions

HEX
#d5ba2a
RGB
rgb(213, 186, 42)
HSL
hsl(50.5, 67.1%, 50%)
HSV / HSB
hsv(50.5, 80.3%, 83.5%)
CMYK
cmyk(0%, 12.7%, 80.3%, 16.5%)
LAB
lab(75.72, -4.44, 69.94)
LCH
lch(75.72, 70.08, 93.63)
OKLCH
oklch(78.9%, 0.1525, 97.69)
HWB
hwb(50.5, 16.5%, 16.5%)

Harmony colors

Complementary

#2a45d5

Analogous

#d5642a
#d5ba2a
#9bd52a

Triadic

#d5ba2a
#2ad5ba
#ba2ad5

Split-complementary

#d5ba2a
#2a9bd5
#642ad5

Tetradic

#d5ba2a
#45d52a
#2a45d5
#ba2ad5

Square

#d5ba2a
#2ad564
#2a45d5
#d52a9b

Shades

Color #d5ba2a mixed toward black.

#b29b23
#8e7c1c
#6b5d15
#473e0e
#241f07

Tints

Color #d5ba2a mixed toward white.

#dcc54d
#e3d171
#eadc94
#f1e8b8
#f8f3db

Tones

Color #d5ba2a mixed toward gray.

#c7b038
#b9a646
#aa9d55
#9c9363
#8e8971

Accessibility

Aa White text on this color
1.93:1
Aa Black text on this color
10.89:1

Black text reads better on this background (10.89:1). That passes WCAG AAA (≥7:1) for normal-size text.

Under color vision deficiencies

Protanopia

#caca67 · ΔE 9.5

Deuteranopia

#cbcd70 · ΔE 10.7

Tritanopia

#d48388 · ΔE 42.4

Achromatopsia

#bbbbbb · ΔE 27.2

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #d5ba2a;
Tailwind (arbitrary value)
bg-[#d5ba2a]

Related colors

Gold #ffd700
Cornsilk #fff8dc
Khaki #f0e68c
Lemon Chiffon #fffacd
Pale Goldenrod #eee8aa
Dark Khaki #bdb76b

Frequently asked questions

#d5ba2a (#d5ba2a) is rgb(213, 186, 42) in RGB.

No, #d5ba2a is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #d5ba2a, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.