#BAB366

Closest named color: Dark Khaki (#BDB76B). oklch(75.6% 0.099 103.9), rgb(186, 179, 102).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (76%)
Chromamoderately saturated (0.099)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text9.72:1
White text2.15:1

Values

HEX#BAB366
RGBrgb(186, 179, 102)
HSLhsl(55, 38%, 56%)
OKLCHoklch(75.6% 0.099 103.9)

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 #BAB366 2.15:1 Fails Lc -47.1 Large or bold text, headings
Black text on #BAB366 9.72:1 AAA Lc 61.6 Content text, not long reading
#BAB366 text on white 2.15:1 Fails Lc 42.4 Non-text elements, placeholder text
#BAB366 text on black 9.72:1 AAA Lc -59.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

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EBEBDD

    oklch(93.6% 0.019 106.8)

  3. Step 200

    200

    #DCDBC1

    oklch(88.5% 0.035 105.3)

  4. Step 300

    300

    #C7C395

    oklch(80.9% 0.062 103.5)

  5. Step 400

    400 (this color)

    #BAB366

    oklch(75.6% 0.099 103.9)

  6. Step 500

    500

    #978C17

    oklch(63% 0.127 103.6)

  7. Step 600

    600

    #7F7600

    oklch(55.6% 0.118 104.3)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #585100

    oklch(42.8% 0.09 103.8)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2B2704

    oklch(26.9% 0.052 102.8)

Export this scale for Tailwind in the Tailwind colors tool

#BAB366 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)#BFAE600.014
Deuteranopia (no green cones)#C2B2690.013
Tritanopia (no blue cones)#C5AAA10.090
Achromatopsia (no color)#B0B0B00.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAB366

    #BAB366

    oklch(75.6% 0.099 103.9)

  • #A8A7ED

    #A8A7ED

    oklch(75.5% 0.1 284.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAB366

    #BAB366

    oklch(75.6% 0.099 103.9)

  • #D5A666

    #D5A666

    oklch(75.5% 0.099 73.9)

  • #96BE7D

    #96BE7D

    oklch(75.6% 0.099 134)

Open the analogous palette in the generator

Split complementary

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

  • #BAB366

    #BAB366

    oklch(75.6% 0.099 103.9)

  • #83B3EE

    #83B3EE

    oklch(75.5% 0.1 254.1)

  • #C79DDC

    #C79DDC

    oklch(75.6% 0.099 314.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAB366

    #BAB366

    oklch(75.6% 0.099 103.9)

  • #61BDDE

    #61BDDE

    oklch(75.4% 0.099 224)

  • #DD96BF

    #DD96BF

    oklch(75.5% 0.1 344.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAB366

    #BAB366

    oklch(75.6% 0.099 103.9)

  • #57C4C2

    #57C4C2

    oklch(75.7% 0.1 193.6)

  • #A8A7ED

    #A8A7ED

    oklch(75.5% 0.1 284.4)

  • #E7959D

    #E7959D

    oklch(75.5% 0.099 13.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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