#BAB147

Closest named color: Muddy Yellow (#BFAC05). oklch(74.7% 0.127 104.5), rgb(186, 177, 71).

Aa

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

About this color

#BAB147 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 75%, its chroma 0.127 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Muddy Yellow (#BFAC05), ΔE 0.029 away. Black text reads best on it, at 9.46:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromamoderately saturated (0.127)
Temperaturewarm
Nearest nameMuddy Yellow (#BFAC05)
Black text9.46:1
White text2.21:1

Values

HEX#BAB147
RGBrgb(186, 177, 71)
HSLhsl(55, 45%, 50%)
OKLCHoklch(74.7% 0.127 104.5)

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 #BAB147 2.21:1 Fails Lc -48.4 Large or bold text, headings
Black text on #BAB147 9.46:1 AAA Lc 60.4 Content text, not long reading
#BAB147 text on white 2.21:1 Fails Lc 43.6 Non-text elements, placeholder text
#BAB147 text on black 9.46:1 AAA Lc -58.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

    #F6F6EE

    oklch(97.1% 0.011 106.6)

  2. Step 100

    100

    #ECEBDA

    oklch(93.6% 0.023 104.1)

  3. Step 200

    200

    #DDDBBA

    oklch(88.4% 0.044 104.4)

  4. Step 300

    300

    #C8C487

    oklch(80.9% 0.08 104.9)

  5. Step 400

    400 (this color)

    #BAB147

    oklch(74.7% 0.127 104.5)

  6. Step 500

    500

    #978D00

    oklch(63.2% 0.134 104.6)

  7. Step 600

    600

    #7F7600

    oklch(55.6% 0.118 104.3)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2B2700

    oklch(26.9% 0.057 103.7)

Export this scale for Tailwind in the Tailwind colors tool

#BAB147 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)#C0AB3B0.016
Deuteranopia (no green cones)#C3B04D0.016
Tritanopia (no blue cones)#C7A69A0.115
Achromatopsia (no color)#AEAEAE0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAB147

    #BAB147

    oklch(74.7% 0.127 104.5)

  • #A4A1FA

    #A4A1FA

    oklch(74.7% 0.127 284.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAB147

    #BAB147

    oklch(74.7% 0.127 104.5)

  • #DCA046

    #DCA046

    oklch(74.7% 0.127 74.4)

  • #8ABF6A

    #8ABF6A

    oklch(74.8% 0.128 134.6)

Open the analogous palette in the generator

Split complementary

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

  • #BAB147

    #BAB147

    oklch(74.7% 0.127 104.5)

  • #73B0FC

    #73B0FC

    oklch(74.7% 0.127 254.6)

  • #CB94E5

    #CB94E5

    oklch(74.8% 0.127 314.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAB147

    #BAB147

    oklch(74.7% 0.127 104.5)

  • #37BDE9

    #37BDE9

    oklch(74.7% 0.127 225)

  • #E58BC0

    #E58BC0

    oklch(74.7% 0.127 344.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAB147

    #BAB147

    oklch(74.7% 0.127 104.5)

  • #07C6C5

    #07C6C5

    oklch(74.8% 0.127 194.1)

  • #A4A1FA

    #A4A1FA

    oklch(74.7% 0.127 284.4)

  • #F28A94

    #F28A94

    oklch(74.7% 0.127 14.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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