#B2A787

Closest named color: Bland (#AFA88B). oklch(72.9% 0.046 91.3), rgb(178, 167, 135).

Aa

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

About this color

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

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

Values

HEX#B2A787
RGBrgb(178, 167, 135)
HSLhsl(45, 22%, 61%)
OKLCHoklch(72.9% 0.046 91.3)

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 #B2A787 2.39:1 Fails Lc -52.2 Large or bold text, headings
Black text on #B2A787 8.77:1 AAA Lc 56.8 Large or bold text, headings
#B2A787 text on white 2.39:1 Fails Lc 47.2 Large or bold text, headings
#B2A787 text on black 8.77: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

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #ECEAE4

    oklch(93.7% 0.008 91.5)

  3. Step 200

    200

    #DDD9CE

    oklch(88.5% 0.015 90.2)

  4. Step 300

    300

    #C7C0AC

    oklch(80.8% 0.028 90.9)

  5. Step 400

    400 (this color)

    #B2A787

    oklch(72.9% 0.046 91.3)

  6. Step 500

    500

    #968960

    oklch(63.1% 0.059 92.6)

  7. Step 600

    600

    #817247

    oklch(55.6% 0.063 90.9)

  8. Step 700

    700

    #6D6038

    oklch(49.2% 0.06 92)

  9. Step 800

    800

    #594E2F

    oklch(42.7% 0.049 90.6)

  10. Step 900

    900

    #49412A

    oklch(37.7% 0.038 91.1)

  11. Step 950

    950

    #2B2619

    oklch(27% 0.024 89.4)

Export this scale for Tailwind in the Tailwind colors tool

#B2A787 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)#AEA6850.007
Deuteranopia (no green cones)#B1A9880.005
Tritanopia (no blue cones)#B9A29E0.041
Achromatopsia (no color)#A7A7A70.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2A787

    #B2A787

    oklch(72.9% 0.046 91.3)

  • #9DA6C5

    #9DA6C5

    oklch(72.8% 0.046 272.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2A787

    #B2A787

    oklch(72.9% 0.046 91.3)

  • #BDA18B

    #BDA18B

    oklch(72.8% 0.045 60.2)

  • #A3AC8C

    #A3AC8C

    oklch(72.9% 0.046 120.3)

Open the analogous palette in the generator

Split complementary

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

  • #B2A787

    #B2A787

    oklch(72.9% 0.046 91.3)

  • #8EACC2

    #8EACC2

    oklch(72.9% 0.046 240.1)

  • #ACA1C0

    #ACA1C0

    oklch(72.9% 0.046 301.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2A787

    #B2A787

    oklch(72.9% 0.046 91.3)

  • #86B0B8

    #86B0B8

    oklch(73% 0.046 210.6)

  • #B99DB5

    #B99DB5

    oklch(72.8% 0.047 330.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2A787

    #B2A787

    oklch(72.9% 0.046 91.3)

  • #88B1A9

    #88B1A9

    oklch(72.8% 0.046 181.7)

  • #9DA6C5

    #9DA6C5

    oklch(72.8% 0.046 272.5)

  • #C19CA5

    #C19CA5

    oklch(72.9% 0.045 2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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