#BFB540

Closest named color: Olive Yellow (#C2B709). oklch(76% 0.136 104.4), rgb(191, 181, 64).

Aa

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

About this color

#BFB540 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 76%, its chroma 0.136 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Yellow (#C2B709), ΔE 0.026 away. Black text reads best on it, at 9.89:1.

Hue familyYellows
Lightnessmedium-light (76%)
Chromamoderately saturated (0.136)
Temperaturewarm
Nearest nameOlive Yellow (#C2B709)
Black text9.89:1
White text2.12:1

Values

HEX#BFB540
RGBrgb(191, 181, 64)
HSLhsl(55, 50%, 50%)
OKLCHoklch(76% 0.136 104.4)

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 #BFB540 2.12:1 Fails Lc -46.1 Large or bold text, headings
Black text on #BFB540 9.89:1 AAA Lc 62.5 Content text, not long reading
#BFB540 text on white 2.12:1 Fails Lc 41.5 Non-text elements, placeholder text
#BFB540 text on black 9.89:1 AAA Lc -60.8 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

    #F7F6E9

    oklch(97% 0.017 103.1)

  2. Step 100

    100

    #EEECCE

    oklch(93.7% 0.04 104)

  3. Step 200

    200

    #E1DCA2

    oklch(88.5% 0.075 103.7)

  4. Step 300

    300 (this color)

    #BFB540

    oklch(76% 0.136 104.4)

  5. Step 400

    400

    #B0A400

    oklch(70.6% 0.149 104.3)

  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

#BFB540 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)#C5AF300.017
Deuteranopia (no green cones)#C8B4470.016
Tritanopia (no blue cones)#CDA99D0.124
Achromatopsia (no color)#B2B2B20.136

Harmonies

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

Complementary

The opposite hue (180°).

  • #BFB540

    #BFB540

    oklch(76% 0.136 104.4)

  • #A8A5FF

    #A8A5FF

    oklch(76% 0.128 284.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BFB540

    #BFB540

    oklch(76% 0.136 104.4)

  • #E3A33F

    #E3A33F

    oklch(75.9% 0.136 74.8)

  • #8CC468

    #8CC468

    oklch(76% 0.136 134.3)

Open the analogous palette in the generator

Split complementary

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

  • #BFB540

    #BFB540

    oklch(76% 0.136 104.4)

  • #78B4FF

    #78B4FF

    oklch(76% 0.125 254.6)

  • #D196ED

    #D196ED

    oklch(76.1% 0.136 314.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BFB540

    #BFB540

    oklch(76% 0.136 104.4)

  • #27C2F1

    #27C2F1

    oklch(75.9% 0.136 224.7)

  • #ED8CC6

    #ED8CC6

    oklch(76% 0.137 344.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BFB540

    #BFB540

    oklch(76% 0.136 104.4)

  • #00CACA

    #00CACA

    oklch(76% 0.13 194.8)

  • #A8A5FF

    #A8A5FF

    oklch(76% 0.128 284.4)

  • #FB8B96

    #FB8B96

    oklch(76.1% 0.136 14.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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