#B2A987

Closest named color: Bland (#AFA88B). oklch(73.3% 0.048 95), rgb(178, 169, 135).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (73%)
Chromamuted (0.048)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text8.91:1
White text2.35:1

Values

HEX#B2A987
RGBrgb(178, 169, 135)
HSLhsl(47, 22%, 61%)
OKLCHoklch(73.3% 0.048 95)

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 #B2A987 2.35:1 Fails Lc -51.4 Large or bold text, headings
Black text on #B2A987 8.91:1 AAA Lc 57.6 Large or bold text, headings
#B2A987 text on white 2.35:1 Fails Lc 46.4 Large or bold text, headings
#B2A987 text on black 8.91:1 AAA Lc -55.6 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

    #EBEAE3

    oklch(93.6% 0.009 100)

  3. Step 200

    200

    #DCD9CD

    oklch(88.4% 0.017 95.2)

  4. Step 300

    300

    #C6C1AB

    oklch(80.9% 0.031 96.5)

  5. Step 400

    400 (this color)

    #B2A987

    oklch(73.3% 0.048 95)

  6. Step 500

    500

    #95895F

    oklch(63% 0.06 94.1)

  7. Step 600

    600

    #7F7345

    oklch(55.5% 0.066 95.2)

  8. Step 700

    700

    #6C6036

    oklch(49% 0.062 93.9)

  9. Step 800

    800

    #584F2D

    oklch(42.8% 0.052 95)

  10. Step 900

    900

    #484229

    oklch(37.8% 0.04 96.3)

  11. Step 950

    950

    #2A2618

    oklch(26.9% 0.025 94.1)

Export this scale for Tailwind in the Tailwind colors tool

#B2A987 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)#B0A7850.006
Deuteranopia (no green cones)#B3AA880.003
Tritanopia (no blue cones)#B9A4A00.044
Achromatopsia (no color)#A9A9A90.048

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2A987

    #B2A987

    oklch(73.3% 0.048 95)

  • #A0A7C8

    #A0A7C8

    oklch(73.4% 0.048 275.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2A987

    #B2A987

    oklch(73.3% 0.048 95)

  • #BFA38A

    #BFA38A

    oklch(73.4% 0.048 63.7)

  • #A2AF8E

    #A2AF8E

    oklch(73.5% 0.048 125.1)

Open the analogous palette in the generator

Split complementary

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

  • #B2A987

    #B2A987

    oklch(73.3% 0.048 95)

  • #90ADC6

    #90ADC6

    oklch(73.4% 0.048 244.5)

  • #B0A2C2

    #B0A2C2

    oklch(73.5% 0.048 305.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2A987

    #B2A987

    oklch(73.3% 0.048 95)

  • #87B1BC

    #87B1BC

    oklch(73.4% 0.048 215.6)

  • #BD9EB5

    #BD9EB5

    oklch(73.4% 0.048 335.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2A987

    #B2A987

    oklch(73.3% 0.048 95)

  • #87B3AD

    #87B3AD

    oklch(73.3% 0.048 185.8)

  • #A0A7C8

    #A0A7C8

    oklch(73.4% 0.048 275.7)

  • #C49DA5

    #C49DA5

    oklch(73.4% 0.047 4.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #B2A987 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.