#BAB451

Closest named color: Dark Khaki (#BDB76B). oklch(75.5% 0.121 105.8), rgb(186, 180, 81).

Aa

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

About this color

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

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

Values

HEX#BAB451
RGBrgb(186, 180, 81)
HSLhsl(57, 43%, 52%)
OKLCHoklch(75.5% 0.121 105.8)

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 #BAB451 2.15:1 Fails Lc -47.0 Large or bold text, headings
Black text on #BAB451 9.73:1 AAA Lc 61.6 Content text, not long reading
#BAB451 text on white 2.15:1 Fails Lc 42.3 Non-text elements, placeholder text
#BAB451 text on black 9.73:1 AAA Lc -59.9 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

    #EBEBDB

    oklch(93.6% 0.021 106.8)

  3. Step 200

    200

    #DCDBBC

    oklch(88.4% 0.041 105.7)

  4. Step 300

    300

    #C7C48B

    oklch(80.9% 0.075 105.4)

  5. Step 400

    400 (this color)

    #BAB451

    oklch(75.5% 0.121 105.8)

  6. Step 500

    500

    #958D00

    oklch(63% 0.134 105.6)

  7. Step 600

    600

    #7D7700

    oklch(55.7% 0.119 106.2)

  8. Step 700

    700

    #696400

    oklch(49.2% 0.105 106.3)

  9. Step 800

    800

    #565100

    oklch(42.6% 0.091 105.5)

  10. Step 900

    900

    #484400

    oklch(37.8% 0.081 105.9)

  11. Step 950

    950

    #2A2800

    oklch(27% 0.058 106.8)

Export this scale for Tailwind in the Tailwind colors tool

#BAB451 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)#C2AE470.018
Deuteranopia (no green cones)#C4B3560.017
Tritanopia (no blue cones)#C6A99E0.110
Achromatopsia (no color)#B0B0B00.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAB451

    #BAB451

    oklch(75.5% 0.121 105.8)

  • #A9A4F9

    #A9A4F9

    oklch(75.6% 0.121 285.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAB451

    #BAB451

    oklch(75.5% 0.121 105.8)

  • #DCA44F

    #DCA44F

    oklch(75.5% 0.121 75.4)

  • #8CC172

    #8CC172

    oklch(75.5% 0.121 135.9)

Open the analogous palette in the generator

Split complementary

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

  • #BAB451

    #BAB451

    oklch(75.5% 0.121 105.8)

  • #7BB2FB

    #7BB2FB

    oklch(75.5% 0.121 255.8)

  • #CD97E4

    #CD97E4

    oklch(75.5% 0.122 315.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAB451

    #BAB451

    oklch(75.5% 0.121 105.8)

  • #46BFEA

    #46BFEA

    oklch(75.5% 0.122 225.7)

  • #E78FC0

    #E78FC0

    oklch(75.5% 0.122 345.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAB451

    #BAB451

    oklch(75.5% 0.121 105.8)

  • #2AC7C8

    #2AC7C8

    oklch(75.5% 0.121 195.6)

  • #A9A4F9

    #A9A4F9

    oklch(75.6% 0.121 285.8)

  • #F28E96

    #F28E96

    oklch(75.4% 0.121 15.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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