#BAAB64

Closest named color: Sand Brown (#CBA560). oklch(73.8% 0.093 97.7), rgb(186, 171, 100).

Aa

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

About this color

#BAAB64 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 74%, its chroma 0.093 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Sand Brown (#CBA560), ΔE 0.028 away. Black text reads best on it, at 9.09:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromamoderately saturated (0.093)
Temperaturewarm
Nearest nameSand Brown (#CBA560)
Black text9.09:1
White text2.30:1

Values

HEX#BAAB64
RGBrgb(186, 171, 100)
HSLhsl(50, 38%, 56%)
OKLCHoklch(73.8% 0.093 97.7)

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 #BAAB64 2.30:1 Fails Lc -50.4 Large or bold text, headings
Black text on #BAAB64 9.09:1 AAA Lc 58.5 Large or bold text, headings
#BAAB64 text on white 2.30:1 Fails Lc 45.5 Large or bold text, headings
#BAAB64 text on black 9.09:1 AAA Lc -56.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

    #F7F6F0

    oklch(97.2% 0.008 98.9)

  2. Step 100

    100

    #EDEADE

    oklch(93.6% 0.016 95.2)

  3. Step 200

    200

    #DFDAC2

    oklch(88.6% 0.033 97.3)

  4. Step 300

    300

    #CAC297

    oklch(81% 0.058 98.7)

  5. Step 400

    400 (this color)

    #BAAB64

    oklch(73.8% 0.093 97.7)

  6. Step 500

    500

    #9D8922

    oklch(63% 0.119 97.6)

  7. Step 600

    600

    #867300

    oklch(55.7% 0.115 97.6)

  8. Step 700

    700

    #706000

    oklch(49% 0.101 97.8)

  9. Step 800

    800

    #5C4F00

    oklch(42.8% 0.088 98.3)

  10. Step 900

    900

    #4D4100

    oklch(37.6% 0.078 97.3)

  11. Step 950

    950

    #2D2606

    oklch(26.9% 0.048 96.7)

Export this scale for Tailwind in the Tailwind colors tool

#BAAB64 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)#B8A85E0.010
Deuteranopia (no green cones)#BCAD670.007
Tritanopia (no blue cones)#C6A29A0.085
Achromatopsia (no color)#ABABAB0.093

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAAB64

    #BAAB64

    oklch(73.8% 0.093 97.7)

  • #9CA5E5

    #9CA5E5

    oklch(73.9% 0.093 277.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAAB64

    #BAAB64

    oklch(73.8% 0.093 97.7)

  • #D29F68

    #D29F68

    oklch(73.8% 0.094 67.6)

  • #9AB675

    #9AB675

    oklch(73.9% 0.094 127.5)

Open the analogous palette in the generator

Split complementary

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

  • #BAAB64

    #BAAB64

    oklch(73.8% 0.093 97.7)

  • #7AB0E2

    #7AB0E2

    oklch(73.9% 0.092 247.3)

  • #BA9BD8

    #BA9BD8

    oklch(73.9% 0.092 307.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAAB64

    #BAAB64

    oklch(73.8% 0.093 97.7)

  • #5EB9D1

    #5EB9D1

    oklch(73.9% 0.093 217.3)

  • #D194BF

    #D194BF

    oklch(73.9% 0.092 337.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAAB64

    #BAAB64

    oklch(73.8% 0.093 97.7)

  • #5BBDB5

    #5BBDB5

    oklch(73.7% 0.093 188.2)

  • #9CA5E5

    #9CA5E5

    oklch(73.9% 0.093 277.7)

  • #DD919F

    #DD919F

    oklch(73.7% 0.093 7.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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