#BBB728

Closest named color: Olive Yellow (#C2B709). oklch(75.9% 0.153 107.8), rgb(187, 183, 40).

Aa

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

About this color

#BBB728 is a medium-light, vivid yellow. In OKLCH its lightness is 76%, its chroma 0.153 and its hue 108°. 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 9.91:1.

Hue familyYellows
Lightnessmedium-light (76%)
Chromavivid (0.153)
Temperaturewarm
Nearest nameOlive Yellow (#C2B709)
Black text9.91:1
White text2.11:1

Values

HEX#BBB728
RGBrgb(187, 183, 40)
HSLhsl(58, 65%, 45%)
OKLCHoklch(75.9% 0.153 107.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 #BBB728 2.11:1 Fails Lc -46.0 Large or bold text, headings
Black text on #BBB728 9.91:1 AAA Lc 62.6 Content text, not long reading
#BBB728 text on white 2.11:1 Fails Lc 41.4 Non-text elements, placeholder text
#BBB728 text on black 9.91:1 AAA Lc -60.9 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

    #DEDE9C

    oklch(88.5% 0.085 108)

  4. Step 300

    300 (this color)

    #BBB728

    oklch(75.9% 0.153 107.8)

  5. Step 400

    400

    #ABA600

    oklch(70.6% 0.152 107.6)

  6. Step 500

    500

    #928E00

    oklch(63% 0.136 107.7)

  7. Step 600

    600

    #7B7800

    oklch(55.7% 0.12 108)

  8. Step 700

    700

    #676400

    oklch(49% 0.105 107.7)

  9. Step 800

    800

    #545200

    oklch(42.7% 0.092 108.1)

  10. Step 900

    900

    #464400

    oklch(37.6% 0.081 107.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#BBB728 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)#C7AF000.024
Deuteranopia (no green cones)#C9B4350.025
Tritanopia (no blue cones)#C9AB9D0.138
Achromatopsia (no color)#B2B2B20.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #BBB728

    #BBB728

    oklch(75.9% 0.153 107.8)

  • #ADA3FF

    #ADA3FF

    oklch(76% 0.13 287.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BBB728

    #BBB728

    oklch(75.9% 0.153 107.8)

  • #E5A21B

    #E5A21B

    oklch(75.8% 0.153 77.7)

  • #7EC763

    #7EC763

    oklch(75.9% 0.153 137.9)

Open the analogous palette in the generator

Split complementary

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

  • #BBB728

    #BBB728

    oklch(75.9% 0.153 107.8)

  • #7EB2FF

    #7EB2FF

    oklch(75.8% 0.125 258)

  • #D990EF

    #D990EF

    oklch(76% 0.152 318.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BBB728

    #BBB728

    oklch(75.9% 0.153 107.8)

  • #00C2FA

    #00C2FA

    oklch(76% 0.148 227.8)

  • #F686C2

    #F686C2

    oklch(76% 0.152 348)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BBB728

    #BBB728

    oklch(75.9% 0.153 107.8)

  • #00C9CE

    #00C9CE

    oklch(75.9% 0.129 198)

  • #ADA3FF

    #ADA3FF

    oklch(76% 0.13 287.9)

  • #FF888E

    #FF888E

    oklch(75.9% 0.144 17.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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