#BABB7B

Closest named color: Dark Khaki (#BDB76B). oklch(77.6% 0.084 109), rgb(186, 187, 123).

Aa

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

About this color

#BABB7B is a medium-light, moderately saturated yellow. In OKLCH its lightness is 78%, its chroma 0.084 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.018 away. Black text reads best on it, at 10.48:1.

Hue familyYellows
Lightnessmedium-light (78%)
Chromamoderately saturated (0.084)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text10.48:1
White text2.00:1

Values

HEX#BABB7B
RGBrgb(186, 187, 123)
HSLhsl(61, 32%, 61%)
OKLCHoklch(77.6% 0.084 109)

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 #BABB7B 2.00:1 Fails Lc -43.3 Non-text elements, placeholder text
Black text on #BABB7B 10.48:1 AAA Lc 65.1 Content text, not long reading
#BABB7B text on white 2.00:1 Fails Lc 38.8 Non-text elements, placeholder text
#BABB7B text on black 10.48:1 AAA Lc -63.6 Content text, not long reading

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 300.

  1. Step 50

    50

    #F6F6EE

    oklch(97.1% 0.011 106.6)

  2. Step 100

    100

    #EBECD9

    oklch(93.7% 0.025 109.3)

  3. Step 200

    200

    #DBDCB9

    oklch(88.5% 0.047 108.7)

  4. Step 300

    300 (this color)

    #BABB7B

    oklch(77.6% 0.084 109)

  5. Step 400

    400

    #A8A731

    oklch(70.8% 0.136 108.9)

  6. Step 500

    500

    #918F00

    oklch(63.1% 0.137 108.8)

  7. Step 600

    600

    #797800

    oklch(55.5% 0.121 109.2)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #535200

    oklch(42.6% 0.092 108.9)

  10. Step 900

    900

    #454500

    oklch(37.8% 0.082 109.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#BABB7B 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)#C5B6760.018
Deuteranopia (no green cones)#C6B87E0.020
Tritanopia (no blue cones)#C3B3AB0.076
Achromatopsia (no color)#B7B7B70.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #BABB7B

    #BABB7B

    oklch(77.6% 0.084 109)

  • #B4AEE9

    #B4AEE9

    oklch(77.7% 0.084 289)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BABB7B

    #BABB7B

    oklch(77.6% 0.084 109)

  • #D3B077

    #D3B077

    oklch(77.5% 0.085 79.2)

  • #9BC490

    #9BC490

    oklch(77.7% 0.084 139.1)

Open the analogous palette in the generator

Split complementary

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

  • #BABB7B

    #BABB7B

    oklch(77.6% 0.084 109)

  • #96B8EC

    #96B8EC

    oklch(77.7% 0.084 258.7)

  • #CEA5D9

    #CEA5D9

    oklch(77.6% 0.085 319)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BABB7B

    #BABB7B

    oklch(77.6% 0.084 109)

  • #7BC1E1

    #7BC1E1

    oklch(77.6% 0.084 228.7)

  • #E0A0BF

    #E0A0BF

    oklch(77.6% 0.085 348.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BABB7B

    #BABB7B

    oklch(77.6% 0.084 109)

  • #70C7CA

    #70C7CA

    oklch(77.6% 0.084 198.5)

  • #B4AEE9

    #B4AEE9

    oklch(77.7% 0.084 289)

  • #E7A1A1

    #E7A1A1

    oklch(77.7% 0.084 19.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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