#B2A786

Closest named color: Bland (#AFA88B). oklch(72.9% 0.047 91.8), rgb(178, 167, 134).

Aa

Black text reads best on this color (8.76:1).

About this color

#B2A786 is a medium-light, muted yellow. In OKLCH its lightness is 73%, its chroma 0.047 and its hue 92°. Its hue sits on the warm side of the wheel. The nearest named color is Bland (#AFA88B), ΔE 0.007 away. Black text reads best on it, at 8.76:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromamuted (0.047)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text8.76:1
White text2.39:1

Values

HEX#B2A786
RGBrgb(178, 167, 134)
HSLhsl(45, 22%, 61%)
OKLCHoklch(72.9% 0.047 91.8)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #B2A786 2.39:1 Fails Lc -52.2 Large or bold text, headings
Black text on #B2A786 8.76:1 AAA Lc 56.8 Large or bold text, headings
#B2A786 text on white 2.39:1 Fails Lc 47.2 Large or bold text, headings
#B2A786 text on black 8.76:1 AAA Lc -54.8 Large or bold text, headings

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 400.

  1. Step 50

    50

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE4

    oklch(93.7% 0.008 91.5)

  3. Step 200

    200

    #DDD9CD

    oklch(88.5% 0.017 91.6)

  4. Step 300

    300

    #C7C0AC

    oklch(80.8% 0.028 90.9)

  5. Step 400

    400 (this color)

    #B2A786

    oklch(72.9% 0.047 91.8)

  6. Step 500

    500

    #97895F

    oklch(63.2% 0.061 91.8)

  7. Step 600

    600

    #817245

    oklch(55.5% 0.066 91.6)

  8. Step 700

    700

    #6D6037

    oklch(49.2% 0.061 92.4)

  9. Step 800

    800

    #594E2E

    oklch(42.7% 0.05 91.1)

  10. Step 900

    900

    #494129

    oklch(37.7% 0.039 91.7)

  11. Step 950

    950

    #2B2618

    oklch(27% 0.025 90.7)

Export this scale for Tailwind in the Tailwind colors tool

#B2A786 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#AEA5840.009
Deuteranopia (no green cones)#B1A9870.005
Tritanopia (no blue cones)#B9A29E0.042
Achromatopsia (no color)#A7A7A70.047

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #B2A786

    #B2A786

    oklch(72.9% 0.047 91.8)

  • #9DA6C6

    #9DA6C6

    oklch(72.9% 0.048 272.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2A786

    #B2A786

    oklch(72.9% 0.047 91.8)

  • #BEA18A

    #BEA18A

    oklch(72.9% 0.047 60.4)

  • #A2AD8C

    #A2AD8C

    oklch(73% 0.048 122.6)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #B2A786

    #B2A786

    oklch(72.9% 0.047 91.8)

  • #8EACC3

    #8EACC3

    oklch(73% 0.047 241.3)

  • #ADA1C1

    #ADA1C1

    oklch(73% 0.047 302.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2A786

    #B2A786

    oklch(72.9% 0.047 91.8)

  • #85B0B9

    #85B0B9

    oklch(72.9% 0.048 211.9)

  • #BA9DB5

    #BA9DB5

    oklch(72.9% 0.047 331.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2A786

    #B2A786

    oklch(72.9% 0.047 91.8)

  • #87B2A9

    #87B2A9

    oklch(73% 0.048 180.6)

  • #9DA6C6

    #9DA6C6

    oklch(72.9% 0.048 272.8)

  • #C29CA5

    #C29CA5

    oklch(73% 0.047 2.5)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #B2A786, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #B2A786 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.