#BAB90C

Closest named color: Olive Yellow (#C2B709). oklch(76.2% 0.164 109.3), rgb(186, 185, 12).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (76%)
Chromavivid (0.164)
Temperaturewarm
Nearest nameOlive Yellow (#C2B709)
Black text10.03:1
White text2.09:1

Values

HEX#BAB90C
RGBrgb(186, 185, 12)
HSLhsl(60, 88%, 39%)
OKLCHoklch(76.2% 0.164 109.3)

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 #BAB90C 2.09:1 Fails Lc -45.3 Large or bold text, headings
Black text on #BAB90C 10.03:1 AAA Lc 63.2 Content text, not long reading
#BAB90C text on white 2.09:1 Fails Lc 40.8 Non-text elements, placeholder text
#BAB90C text on black 10.03:1 AAA Lc -61.5 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

    #F6F7E6

    oklch(97.1% 0.022 109.5)

  2. Step 100

    100

    #ECEDC9

    oklch(93.6% 0.047 108.6)

  3. Step 200

    200

    #DDDF98

    oklch(88.6% 0.091 109.5)

  4. Step 300

    300 (this color)

    #BAB90C

    oklch(76.2% 0.164 109.3)

  5. Step 400

    400

    #A8A700

    oklch(70.6% 0.153 109.3)

  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

    #535300

    oklch(42.8% 0.093 109.8)

  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

#BAB90C 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)#C9B1000.029
Deuteranopia (no green cones)#CBB5250.030
Tritanopia (no blue cones)#C8AC9D0.148
Achromatopsia (no color)#B3B3B30.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAB90C

    #BAB90C

    oklch(76.2% 0.164 109.3)

  • #B0A3FF

    #B0A3FF

    oklch(76.2% 0.13 289.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAB90C

    #BAB90C

    oklch(76.2% 0.164 109.3)

  • #E6A400

    #E6A400

    oklch(76.2% 0.158 79.6)

  • #77CA60

    #77CA60

    oklch(76.2% 0.164 139.2)

Open the analogous palette in the generator

Split complementary

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

  • #BAB90C

    #BAB90C

    oklch(76.2% 0.164 109.3)

  • #82B2FF

    #82B2FF

    oklch(76.1% 0.123 259.6)

  • #DE8DF2

    #DE8DF2

    oklch(76.2% 0.163 319.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAB90C

    #BAB90C

    oklch(76.2% 0.164 109.3)

  • #00C2FE

    #00C2FE

    oklch(76.2% 0.151 229.6)

  • #FC82C1

    #FC82C1

    oklch(76.1% 0.164 349.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAB90C

    #BAB90C

    oklch(76.2% 0.164 109.3)

  • #00CAD1

    #00CAD1

    oklch(76.2% 0.13 199.2)

  • #B0A3FF

    #B0A3FF

    oklch(76.2% 0.13 289.4)

  • #FF8A8D

    #FF8A8D

    oklch(76.2% 0.142 19.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #BAB90C.

Similar named colors

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

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