#BFAF5F

Closest named color: Desert (#CCAD60). oklch(75.1% 0.103 98.3), rgb(191, 175, 95).

Aa

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

About this color

#BFAF5F is a medium-light, moderately saturated yellow. In OKLCH its lightness is 75%, its chroma 0.103 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Desert (#CCAD60), ΔE 0.020 away. Black text reads best on it, at 9.51:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromamoderately saturated (0.103)
Temperaturewarm
Nearest nameDesert (#CCAD60)
Black text9.51:1
White text2.20:1

Values

HEX#BFAF5F
RGBrgb(191, 175, 95)
HSLhsl(50, 43%, 56%)
OKLCHoklch(75.1% 0.103 98.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 #BFAF5F 2.20:1 Fails Lc -48.2 Large or bold text, headings
Black text on #BFAF5F 9.51:1 AAA Lc 60.5 Content text, not long reading
#BFAF5F text on white 2.20:1 Fails Lc 43.4 Non-text elements, placeholder text
#BFAF5F text on black 9.51:1 AAA Lc -58.8 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

    #F7F6EF

    oklch(97.2% 0.009 100)

  2. Step 100

    100

    #EDEADC

    oklch(93.6% 0.019 96.9)

  3. Step 200

    200

    #DFDABF

    oklch(88.5% 0.036 98.5)

  4. Step 300

    300

    #CBC292

    oklch(81% 0.065 98.7)

  5. Step 400

    400 (this color)

    #BFAF5F

    oklch(75.1% 0.103 98.3)

  6. Step 500

    500

    #9E8900

    oklch(63% 0.13 98.3)

  7. Step 600

    600

    #857300

    oklch(55.6% 0.115 98.3)

  8. Step 700

    700

    #706100

    oklch(49.2% 0.102 98.7)

  9. Step 800

    800

    #5C4F00

    oklch(42.8% 0.088 98.3)

  10. Step 900

    900

    #4D4100

    oklch(37.6% 0.078 97.3)

  11. Step 950

    950

    #2D2601

    oklch(26.8% 0.054 98.4)

Export this scale for Tailwind in the Tailwind colors tool

#BFAF5F 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)#BDAB580.012
Deuteranopia (no green cones)#C1B1620.007
Tritanopia (no blue cones)#CCA59C0.093
Achromatopsia (no color)#AEAEAE0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #BFAF5F

    #BFAF5F

    oklch(75.1% 0.103 98.3)

  • #9FA8EF

    #9FA8EF

    oklch(75.1% 0.103 278.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BFAF5F

    #BFAF5F

    oklch(75.1% 0.103 98.3)

  • #D9A264

    #D9A264

    oklch(75.1% 0.103 68.5)

  • #9BBB73

    #9BBB73

    oklch(75.1% 0.103 128.2)

Open the analogous palette in the generator

Split complementary

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

  • #BFAF5F

    #BFAF5F

    oklch(75.1% 0.103 98.3)

  • #78B4EC

    #78B4EC

    oklch(75.1% 0.102 247.7)

  • #C09CE0

    #C09CE0

    oklch(74.9% 0.103 308.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BFAF5F

    #BFAF5F

    oklch(75.1% 0.103 98.3)

  • #57BEDA

    #57BEDA

    oklch(75.1% 0.103 218.4)

  • #D995C5

    #D995C5

    oklch(75.1% 0.102 338)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BFAF5F

    #BFAF5F

    oklch(75.1% 0.103 98.3)

  • #52C3BA

    #52C3BA

    oklch(75% 0.103 188)

  • #9FA8EF

    #9FA8EF

    oklch(75.1% 0.103 278.1)

  • #E692A1

    #E692A1

    oklch(74.9% 0.103 8.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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