#BFAF4F

Closest named color: Dark Khaki (#BDB76B). oklch(74.9% 0.118 99.9), rgb(191, 175, 79).

Aa

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

About this color

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

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

Values

HEX#BFAF4F
RGBrgb(191, 175, 79)
HSLhsl(51, 47%, 53%)
OKLCHoklch(74.9% 0.118 99.9)

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 #BFAF4F 2.21:1 Fails Lc -48.4 Large or bold text, headings
Black text on #BFAF4F 9.46:1 AAA Lc 60.3 Content text, not long reading
#BFAF4F text on white 2.21:1 Fails Lc 43.6 Non-text elements, placeholder text
#BFAF4F text on black 9.46:1 AAA Lc -58.5 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

    #F7F6EE

    oklch(97.2% 0.011 100.8)

  2. Step 100

    100

    #EDEADB

    oklch(93.5% 0.02 97.5)

  3. Step 200

    200

    #DFDABC

    oklch(88.4% 0.04 99.4)

  4. Step 300

    300

    #CBC28B

    oklch(80.8% 0.073 100)

  5. Step 400

    400 (this color)

    #BFAF4F

    oklch(74.9% 0.118 99.9)

  6. Step 500

    500

    #9C8A00

    oklch(63% 0.131 100.1)

  7. Step 600

    600

    #837400

    oklch(55.6% 0.116 100.3)

  8. Step 700

    700

    #6F6100

    oklch(49.1% 0.102 99.4)

  9. Step 800

    800

    #5B4F00

    oklch(42.7% 0.088 99.2)

  10. Step 900

    900

    #4C4200

    oklch(37.8% 0.078 99.5)

  11. Step 950

    950

    #2D2700

    oklch(27.1% 0.056 100.5)

Export this scale for Tailwind in the Tailwind colors tool

#BFAF4F 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)#BEAA450.014
Deuteranopia (no green cones)#C2B1540.008
Tritanopia (no blue cones)#CDA49A0.108
Achromatopsia (no color)#AEAEAE0.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #BFAF4F

    #BFAF4F

    oklch(74.9% 0.118 99.9)

  • #9FA5F7

    #9FA5F7

    oklch(74.9% 0.118 279.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BFAF4F

    #BFAF4F

    oklch(74.9% 0.118 99.9)

  • #DDA054

    #DDA054

    oklch(74.9% 0.118 70.3)

  • #95BC6A

    #95BC6A

    oklch(74.8% 0.118 129.6)

Open the analogous palette in the generator

Split complementary

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

  • #BFAF4F

    #BFAF4F

    oklch(74.9% 0.118 99.9)

  • #71B3F5

    #71B3F5

    oklch(74.9% 0.117 249.6)

  • #C498E5

    #C498E5

    oklch(74.8% 0.117 309.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BFAF4F

    #BFAF4F

    oklch(74.9% 0.118 99.9)

  • #40BEE1

    #40BEE1

    oklch(74.7% 0.118 220.4)

  • #DF8FC5

    #DF8FC5

    oklch(74.8% 0.118 339.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BFAF4F

    #BFAF4F

    oklch(74.9% 0.118 99.9)

  • #34C5BE

    #34C5BE

    oklch(74.9% 0.118 190.1)

  • #9FA5F7

    #9FA5F7

    oklch(74.9% 0.118 279.9)

  • #ED8D9C

    #ED8D9C

    oklch(74.8% 0.117 10.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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