Skip to content
Kolorvia
#b2ab52

Color #b2ab52

A muted medium yellow.

Conversions

HEX
#b2ab52
RGB
rgb(178, 171, 82)
HSL
hsl(55.6, 38.4%, 51%)
HSV / HSB
hsv(55.6, 53.9%, 69.8%)
CMYK
cmyk(0%, 3.9%, 53.9%, 30.2%)
LAB
lab(68.9, -9.45, 46.07)
LCH
lch(68.9, 47.03, 101.59)
OKLCH
oklch(72.9%, 0.1116, 104.75)
HWB
hwb(55.6, 32.2%, 30.2%)

Harmony colors

Complementary

#5259b2

Analogous

#b27b52
#b2ab52
#89b252

Triadic

#b2ab52
#52b2ab
#ab52b2

Split-complementary

#b2ab52
#5289b2
#7b52b2

Tetradic

#b2ab52
#59b252
#5259b2
#ab52b2

Square

#b2ab52
#52b27b
#5259b2
#b25289

Shades

Color #b2ab52 mixed toward black.

#969043
#787335
#5a5628
#3c3a1b
#1e1d0d

Tints

Color #b2ab52 mixed toward white.

#bfb96f
#ccc78c
#d9d5a9
#e5e3c5
#f2f1e2

Tones

Color #b2ab52 mixed toward gray.

#aaa45a
#a29d62
#9a976a
#929072
#8a897a

Accessibility

Aa White text on this color
2.38:1
Aa Black text on this color
8.84:1

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

Under color vision deficiencies

Protanopia

#afaf70 · ΔE 5.4

Deuteranopia

#afb076 · ΔE 6.5

Tritanopia

#b28286 · ΔE 35.2

Achromatopsia

#a8a8a8 · ΔE 22.9

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

Code

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

Related colors

Dark Khaki #bdb76b
Pale Goldenrod #eee8aa
Khaki #f0e68c
Lemon Chiffon #fffacd
Ivory #fffff0
Beige #f5f5dc

Frequently asked questions

#b2ab52 (#b2ab52) is rgb(178, 171, 82) in RGB.

No, #b2ab52 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 #b2ab52, 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.