#BAB92B

Closest named color: Olive Yellow (#C2B709). oklch(76.3% 0.153 109.1), rgb(186, 185, 43).

Aa

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

About this color

#BAB92B is a medium-light, vivid yellow. In OKLCH its lightness is 76%, its chroma 0.153 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Yellow (#C2B709), ΔE 0.013 away. Black text reads best on it, at 10.06:1.

Hue familyYellows
Lightnessmedium-light (76%)
Chromavivid (0.153)
Temperaturewarm
Nearest nameOlive Yellow (#C2B709)
Black text10.06:1
White text2.08:1

Values

HEX#BAB92B
RGBrgb(186, 185, 43)
HSLhsl(60, 62%, 45%)
OKLCHoklch(76.3% 0.153 109.1)

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 #BAB92B 2.08:1 Fails Lc -45.3 Large or bold text, headings
Black text on #BAB92B 10.06:1 AAA Lc 63.3 Content text, not long reading
#BAB92B text on white 2.08:1 Fails Lc 40.7 Non-text elements, placeholder text
#BAB92B text on black 10.06:1 AAA Lc -61.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

    #F6F7E7

    oklch(97.1% 0.021 109.7)

  2. Step 100

    100

    #ECEDCB

    oklch(93.7% 0.045 108.6)

  3. Step 200

    200

    #DDDE9C

    oklch(88.4% 0.085 108.8)

  4. Step 300

    300 (this color)

    #BAB92B

    oklch(76.3% 0.153 109.1)

  5. Step 400

    400

    #A9A700

    oklch(70.7% 0.153 108.9)

  6. Step 500

    500

    #908F00

    oklch(63% 0.137 109.3)

  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

#BAB92B 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)#C8B1010.026
Deuteranopia (no green cones)#CAB6370.027
Tritanopia (no blue cones)#C8AD9F0.139
Achromatopsia (no color)#B3B3B30.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAB92B

    #BAB92B

    oklch(76.3% 0.153 109.1)

  • #B0A3FF

    #B0A3FF

    oklch(76.2% 0.13 289.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAB92B

    #BAB92B

    oklch(76.3% 0.153 109.1)

  • #E5A41A

    #E5A41A

    oklch(76.1% 0.153 79)

  • #7CC966

    #7CC966

    oklch(76.3% 0.154 139)

Open the analogous palette in the generator

Split complementary

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

  • #BAB92B

    #BAB92B

    oklch(76.3% 0.153 109.1)

  • #82B3FF

    #82B3FF

    oklch(76.3% 0.122 258.9)

  • #DB90EF

    #DB90EF

    oklch(76.2% 0.153 319)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAB92B

    #BAB92B

    oklch(76.3% 0.153 109.1)

  • #00C2FE

    #00C2FE

    oklch(76.2% 0.151 229.6)

  • #F886C1

    #F886C1

    oklch(76.2% 0.154 349)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAB92B

    #BAB92B

    oklch(76.3% 0.153 109.1)

  • #00CAD1

    #00CAD1

    oklch(76.2% 0.13 199.2)

  • #B0A3FF

    #B0A3FF

    oklch(76.2% 0.13 289.4)

  • #FF8A8E

    #FF8A8E

    oklch(76.2% 0.142 18.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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