#BAAB71

Closest named color: Sandstone (#C9AE74). oklch(74% 0.079 95.4), rgb(186, 171, 113).

Aa

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

About this color

#BAAB71 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 74%, its chroma 0.079 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Sandstone (#C9AE74), ΔE 0.025 away. Black text reads best on it, at 9.15:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromamoderately saturated (0.079)
Temperaturewarm
Nearest nameSandstone (#C9AE74)
Black text9.15:1
White text2.29:1

Values

HEX#BAAB71
RGBrgb(186, 171, 113)
HSLhsl(48, 35%, 59%)
OKLCHoklch(74% 0.079 95.4)

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 #BAAB71 2.29:1 Fails Lc -50.1 Large or bold text, headings
Black text on #BAAB71 9.15:1 AAA Lc 58.7 Large or bold text, headings
#BAAB71 text on white 2.29:1 Fails Lc 45.2 Large or bold text, headings
#BAAB71 text on black 9.15:1 AAA Lc -56.9 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

    #F7F5F1

    oklch(97.1% 0.006 84.6)

  2. Step 100

    100

    #EDEADF

    oklch(93.6% 0.015 94.2)

  3. Step 200

    200

    #DED9C5

    oklch(88.4% 0.027 95.4)

  4. Step 300

    300

    #CAC19D

    oklch(80.9% 0.05 95.6)

  5. Step 400

    400 (this color)

    #BAAB71

    oklch(74% 0.079 95.4)

  6. Step 500

    500

    #9C893B

    oklch(63.1% 0.101 95.7)

  7. Step 600

    600

    #877211

    oklch(55.6% 0.109 95.4)

  8. Step 700

    700

    #725F00

    oklch(49% 0.101 95.4)

  9. Step 800

    800

    #5D4E08

    oklch(42.7% 0.084 95.6)

  10. Step 900

    900

    #4C4112

    oklch(37.7% 0.066 95.8)

  11. Step 950

    950

    #2D260D

    oklch(27% 0.041 93.9)

Export this scale for Tailwind in the Tailwind colors tool

#BAAB71 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)#B6A86D0.011
Deuteranopia (no green cones)#BAAD730.005
Tritanopia (no blue cones)#C5A39C0.071
Achromatopsia (no color)#ABABAB0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAAB71

    #BAAB71

    oklch(74% 0.079 95.4)

  • #9CA7DD

    #9CA7DD

    oklch(73.9% 0.079 275.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAAB71

    #BAAB71

    oklch(74% 0.079 95.4)

  • #CEA176

    #CEA176

    oklch(74% 0.079 64.8)

  • #9FB47D

    #9FB47D

    oklch(74% 0.079 125.3)

Open the analogous palette in the generator

Split complementary

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

  • #BAAB71

    #BAAB71

    oklch(74% 0.079 95.4)

  • #81B1DA

    #81B1DA

    oklch(74.1% 0.079 244.9)

  • #B79FD3

    #B79FD3

    oklch(74.1% 0.078 305.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAAB71

    #BAAB71

    oklch(74% 0.079 95.4)

  • #6DB8CA

    #6DB8CA

    oklch(74% 0.079 214.9)

  • #CB98BE

    #CB98BE

    oklch(74% 0.079 335.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAAB71

    #BAAB71

    oklch(74% 0.079 95.4)

  • #6EBBB2

    #6EBBB2

    oklch(74% 0.078 186.1)

  • #9CA7DD

    #9CA7DD

    oklch(73.9% 0.079 275.4)

  • #D696A4

    #D696A4

    oklch(73.9% 0.079 4.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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